std
Modules
builtins
cmp
collections
ffi
fmt
fs
hash
intrinsics
io
iter
macros
math
mem
net
option
panicking
prelude
process
random
range
result
runtime
string
sync
thread
time
typing
util
Macros
compile_fail
compile_warn
compile_note
assert
assert_eq
assert_ne
debug_assert
debug_assert_eq
debug_assert_ne
const_assert
const_assert_eq
const_assert_ne
unreachable
assume
likely
unlikely
line
column
file
env
cfg
include_bytes
concat
stringify
dbg
Macro
std
::
debug_assert_eq
macro
debug_assert_eq
($lhs, $rhs) { ... }
source
Panics if
lhs
and
rhs
are not equal when compiled in debug mode. Otherwise, does nothing.