Skip to content

Commit 1b9d7ea

Browse files
committed
Mark core::slice::memchr as #[doc(hidden)]
It's purely internal, and not intended to be a public API, even on nightly. This stops it showing up and being misleading in rustdoc search. It also mirrors the (also internal) `core::slice::sort` module.
1 parent 14863ea commit 1b9d7ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/slice/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ use crate::{fmt, hint, ptr, range, slice};
2121
issue = "none",
2222
reason = "exposed from core to be reused in std; use the memchr crate"
2323
)]
24+
#[doc(hidden)]
2425
/// Pure Rust memchr implementation, taken from rust-memchr
2526
pub mod memchr;
2627

0 commit comments

Comments
 (0)