Hide internals items in documentation

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Alphyr 2021-01-16 18:30:22 +01:00 committed by Benoît du Garreau
parent 546d062820
commit a357d86b7c

View File

@ -93,6 +93,7 @@ pub fn panic_fmt(fmt: fmt::Arguments<'_>) -> ! {
} }
#[derive(Debug)] #[derive(Debug)]
#[doc(hidden)]
pub enum AssertKind { pub enum AssertKind {
Eq, Eq,
Ne, Ne,
@ -101,6 +102,7 @@ pub enum AssertKind {
/// Internal function for `assert_eq!` and `assert_ne!` macros /// Internal function for `assert_eq!` and `assert_ne!` macros
#[cold] #[cold]
#[track_caller] #[track_caller]
#[doc(hidden)]
pub fn assert_failed<T, U>( pub fn assert_failed<T, U>(
kind: AssertKind, kind: AssertKind,
left: &T, left: &T,