diff options
| -rw-r--r-- | library/core/src/panicking.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/core/src/panicking.rs b/library/core/src/panicking.rs index 36ae2449447..af8a6101392 100644 --- a/library/core/src/panicking.rs +++ b/library/core/src/panicking.rs @@ -93,6 +93,7 @@ pub fn panic_fmt(fmt: fmt::Arguments<'_>) -> ! { } #[derive(Debug)] +#[doc(hidden)] pub enum AssertKind { Eq, Ne, @@ -101,6 +102,7 @@ pub enum AssertKind { /// Internal function for `assert_eq!` and `assert_ne!` macros #[cold] #[track_caller] +#[doc(hidden)] pub fn assert_failed<T, U>( kind: AssertKind, left: &T, |
