Skip to content

Commit 085d52c

Browse files
committed
pls this time
1 parent e3dd616 commit 085d52c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/macros/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ macro_rules! assert_ne {
127127
/// ```
128128
/// #![feature(assert_matches)]
129129
///
130-
/// use std::assert::assert_matches;
130+
/// use std::assert_matches::assert_matches;
131131
///
132132
/// let a = 1u32.checked_add(2);
133133
/// let b = 1u32.checked_sub(2);
@@ -301,7 +301,7 @@ macro_rules! debug_assert_ne {
301301
#[allow_internal_unstable(assert_matches)]
302302
#[rustc_macro_transparency = "semitransparent"]
303303
pub macro debug_assert_matches($($arg:tt)*) {
304-
if $crate::cfg!(debug_assertions) { $crate::assert::assert_matches!($($arg)*); }
304+
if $crate::cfg!(debug_assertions) { $crate::assert_matches::assert_matches!($($arg)*); }
305305
}
306306

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

0 commit comments

Comments
 (0)