]> git.lizzy.rs Git - rust.git/commitdiff
Hide internals items in documentation
authorAlphyr <47725341+a1phyr@users.noreply.github.com>
Sat, 16 Jan 2021 17:30:22 +0000 (18:30 +0100)
committerBenoît du Garreau <bdgdlm@outlook.com>
Sun, 14 Feb 2021 22:39:43 +0000 (23:39 +0100)
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
library/core/src/panicking.rs

index 36ae244944706b65f01f7b7cfa54a92428eb89c0..af8a6101392a4d871dc7b62a44e773e7a9d60e67 100644 (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,