@@ -115,8 +115,8 @@ 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,
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.
120120///
121121/// The pattern syntax is exactly the same as found in a match arm and the `matches!` macro. The
122122/// 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 {
382382/// Asserts that an expression matches the provided pattern.
383383///
384384/// 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.
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