File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ macro_rules! assert_ne {
126
126
/// ```
127
127
/// #![feature(assert_matches)]
128
128
///
129
- /// use std::assert ::assert_matches;
129
+ /// use std::assert_matches ::assert_matches;
130
130
///
131
131
/// let a = 1u32.checked_add(2);
132
132
/// let b = 1u32.checked_sub(2);
@@ -300,7 +300,7 @@ macro_rules! debug_assert_ne {
300
300
#[ allow_internal_unstable( assert_matches) ]
301
301
#[ rustc_macro_transparency = "semitransparent" ]
302
302
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) * ) ; }
304
304
}
305
305
306
306
/// Returns whether the given expression matches any of the given patterns.
You can’t perform that action at this time.
0 commit comments