diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index 60eca35068e..57eedde9164 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -286,7 +286,7 @@ macro_rules! debug_assert_ne { /// ``` /// #![feature(assert_matches)] /// -/// use std::assert::debug_assert_matches; +/// use std::assert_matches::debug_assert_matches; /// /// let a = 1u32.checked_add(2); /// let b = 1u32.checked_sub(2);