Skip to content

Commit 5142fa3

Browse files
yaahcMark-Simulacrum
authored andcommitted
pls this time
1 parent 96941c7 commit 5142fa3

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
@@ -126,7 +126,7 @@ macro_rules! assert_ne {
126126
/// ```
127127
/// #![feature(assert_matches)]
128128
///
129-
/// use std::assert::assert_matches;
129+
/// use std::assert_matches::assert_matches;
130130
///
131131
/// let a = 1u32.checked_add(2);
132132
/// let b = 1u32.checked_sub(2);
@@ -300,7 +300,7 @@ macro_rules! debug_assert_ne {
300300
#[allow_internal_unstable(assert_matches)]
301301
#[rustc_macro_transparency = "semitransparent"]
302302
pub macro debug_assert_matches($($arg:tt)*) {
303-
if $crate::cfg!(debug_assertions) { $crate::assert::assert_matches!($($arg)*); }
303+
if $crate::cfg!(debug_assertions) { $crate::assert_matches::assert_matches!($($arg)*); }
304304
}
305305

306306
/// Returns whether the given expression matches any of the given patterns.

0 commit comments

Comments
 (0)