File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ macro_rules! assert_ne {
115
115
/// Asserts that an expression matches the provided pattern.
116
116
///
117
117
/// This macro is generally preferable to `assert!(matches!(value, pattern))`, because it can print
118
- /// the debug representation, of the actual value shape that did not meet expectation. In contrast
118
+ /// the debug representation, of the actual value shape that did not meet expectation. In contrast,
119
119
/// using [`assert!`] will only print that the expectation was not met, but not why.
120
120
///
121
121
/// The pattern syntax is exactly the same as found in a match arm and the `matches!` macro. The
@@ -383,7 +383,7 @@ macro_rules! debug_assert_ne {
383
383
///
384
384
/// This macro is generally preferable to `debug_assert!(matches!(value, pattern))`, because it can
385
385
/// print the debug representation, of the actual value shape that did not meet expectation. In
386
- /// contrast using [`debug_assert!`] will only print that the expectation was not met, but not why.
386
+ /// contrast, using [`debug_assert!`] will only print that the expectation was not met, but not why.
387
387
///
388
388
/// The pattern syntax is exactly the same as found in a match arm and the `matches!` macro. The
389
389
/// optional if guard can be used to add additional checks that must be true for the matched value,
You can’t perform that action at this time.
0 commit comments