Skip to content

Commit 9a80e2e

Browse files
authored
Unrolled build for #142262
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 c6a9554 + 1b9d7ea commit 9a80e2e

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy