Skip to content

Commit a357d86

Browse files
a1phyrJoshua Nelson
and
Joshua Nelson
committed
Hide internals items in documentation
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent 546d062 commit a357d86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/core/src/panicking.rs

+2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ pub fn panic_fmt(fmt: fmt::Arguments<'_>) -> ! {
9393
}
9494

9595
#[derive(Debug)]
96+
#[doc(hidden)]
9697
pub enum AssertKind {
9798
Eq,
9899
Ne,
@@ -101,6 +102,7 @@ pub enum AssertKind {
101102
/// Internal function for `assert_eq!` and `assert_ne!` macros
102103
#[cold]
103104
#[track_caller]
105+
#[doc(hidden)]
104106
pub fn assert_failed<T, U>(
105107
kind: AssertKind,
106108
left: &T,

0 commit comments

Comments
 (0)