diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2025-06-10 16:54:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-10 16:54:52 +0200 |
| commit | f76f1f289d16126eaad56b50aa6219d665c152a1 (patch) | |
| tree | 32d1ab4e56017827fd9db9a0d96cf08d53371aac | |
| parent | 28d385647faea8cebca7ae3ef4d349cec2da6a0f (diff) | |
| parent | 1b9d7eab7af9567e9d4289586be4c15da7f56ec9 (diff) | |
| download | rust-f76f1f289d16126eaad56b50aa6219d665c152a1.tar.gz rust-f76f1f289d16126eaad56b50aa6219d665c152a1.zip | |
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.
| -rw-r--r-- | library/core/src/slice/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index 4f7e1440880..c26bbad087a 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -21,6 +21,7 @@ use crate::{fmt, hint, ptr, range, slice}; issue = "none", reason = "exposed from core to be reused in std; use the memchr crate" )] +#[doc(hidden)] /// Pure Rust memchr implementation, taken from rust-memchr pub mod memchr; |
