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 {
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" ]
303303pub 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.
You can’t perform that action at this time.
0 commit comments