Skip to content

Commit

Permalink
Hide internals items in documentation
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <[email protected]>
  • Loading branch information
a1phyr and Joshua Nelson committed Feb 14, 2021
1 parent 546d062 commit a357d86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/core/src/panicking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ pub fn panic_fmt(fmt: fmt::Arguments<'_>) -> ! {
}

#[derive(Debug)]
#[doc(hidden)]
pub enum AssertKind {
Eq,
Ne,
Expand All @@ -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,
Expand Down

0 comments on commit a357d86

Please sign in to comment.