mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
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)]
|
||||
#[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,
|
||||
|
Loading…
Reference in New Issue
Block a user