diff options
| author | Alphyr <47725341+a1phyr@users.noreply.github.com> | 2021-01-16 18:30:22 +0100 |
|---|---|---|
| committer | BenoƮt du Garreau <bdgdlm@outlook.com> | 2021-02-14 23:39:43 +0100 |
| commit | a357d86b7c2c4a5089a8669a9c238af547743c8a (patch) | |
| tree | 95677dbb1e91daf0724e85328d96f896dfa13dca | |
| parent | 546d062820555d5597c63288340feed17cea54f9 (diff) | |
| download | rust-a357d86b7c2c4a5089a8669a9c238af547743c8a.tar.gz rust-a357d86b7c2c4a5089a8669a9c238af547743c8a.zip | |
Hide internals items in documentation
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
| -rw-r--r-- | library/core/src/panicking.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/core/src/panicking.rs b/library/core/src/panicking.rs index 36ae2449447..af8a6101392 100644 --- a/library/core/src/panicking.rs +++ b/library/core/src/panicking.rs @@ -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, |
