Hide internals items in documentation
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
parent
546d062820
commit
a357d86b7c
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user