@@ -115,8 +115,8 @@ 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,
119
- /// using [`assert!`] will only print that the expectation was not met, but not why.
118
+ /// the debug representation of the actual value shape that did not meet expectations . In contrast,
119
+ /// using [`assert!`] will only print that expectations were 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
122
122
/// optional if guard can be used to add additional checks that must be true for the matched value,
@@ -382,8 +382,8 @@ macro_rules! debug_assert_ne {
382
382
/// Asserts that an expression matches the provided pattern.
383
383
///
384
384
/// This macro is generally preferable to `debug_assert!(matches!(value, pattern))`, because it can
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.
385
+ /// print the debug representation of the actual value shape that did not meet expectations . In
386
+ /// contrast, using [`debug_assert!`] will only print that expectations were 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,
0 commit comments