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)]
#[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,