Skip to content

Commit d6438f5

Browse files
committed
Apply review comments
1 parent d2495fa commit d6438f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/macros/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ macro_rules! assert_ne {
115115
/// Asserts that an expression matches the provided pattern.
116116
///
117117
/// 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,
119119
/// using [`assert!`] will only print that the expectation was not met, but not why.
120120
///
121121
/// 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 {
383383
///
384384
/// This macro is generally preferable to `debug_assert!(matches!(value, pattern))`, because it can
385385
/// 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.
387387
///
388388
/// The pattern syntax is exactly the same as found in a match arm and the `matches!` macro. The
389389
/// optional if guard can be used to add additional checks that must be true for the matched value,

0 commit comments

Comments
 (0)