Skip to content

Commit f76f1f2

Browse files
authored
Rollup merge of #142262 - aDotInTheVoid:nomemchr, r=Noratrieb
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.
2 parents 28d3856 + 1b9d7ea commit f76f1f2

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)