We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ef4030 + d6275b3 commit 5a02d22Copy full SHA for 5a02d22
src/libcore/macros.rs
@@ -135,10 +135,10 @@ macro_rules! debug_assert {
135
($($arg:tt)*) => (if cfg!(debug_assertions) { assert!($($arg)*); })
136
}
137
138
-/// Asserts that two expressions are equal to each other, testing equality in
139
-/// both directions.
+/// Asserts that two expressions are equal to each other.
140
///
141
-/// On panic, this macro will print the values of the expressions.
+/// On panic, this macro will print the values of the expressions with their
+/// debug representations.
142
143
/// Unlike `assert_eq!`, `debug_assert_eq!` statements are only enabled in non
144
/// optimized builds by default. An optimized build will omit all
0 commit comments