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