Skip to content

Commit 910e2d2

Browse files
committed
fix: adding missing corrections
1 parent a449ea5 commit 910e2d2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

library/core/src/macros/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ macro_rules! assert_ne {
164164
/// assert_matches!(a, Some(x) if x > 100);
165165
/// // assert_matches!(a, Some(x) if x < 100); // panics
166166
/// ```
167-
#[stable(feature = "assert_matches", since = "1.95.0")]
167+
#[stable(feature = "assert_matches", since = "1.96.0")]
168168
#[allow_internal_unstable(panic_internals)]
169169
#[rustc_macro_transparency = "semiopaque"]
170170
pub macro assert_matches {
@@ -391,7 +391,7 @@ macro_rules! debug_assert_ne {
391391
/// debug_assert_matches!(a, Some(x) if x > 100);
392392
/// // debug_assert_matches!(a, Some(x) if x < 100); // panics
393393
/// ```
394-
#[stable(feature = "assert_matches", since = "1.95.0")]
394+
#[stable(feature = "assert_matches", since = "1.96.0")]
395395
#[allow_internal_unstable(assert_matches)]
396396
#[rustc_macro_transparency = "semiopaque"]
397397
pub macro debug_assert_matches($($arg:tt)*) {

library/std/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ pub use core::{
746746
assert_eq, assert_ne, debug_assert, debug_assert_eq, debug_assert_ne, r#try, unimplemented,
747747
unreachable, write, writeln,
748748
};
749-
#[stable(feature = "assert_matches", since = "1.95.0")]
749+
#[stable(feature = "assert_matches", since = "1.96.0")]
750750
pub use core::{assert_matches, debug_assert_matches};
751751

752752
// Re-export unstable derive macro defined through core.

0 commit comments

Comments
 (0)