diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-08-19 19:42:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 19:42:10 +0800 |
| commit | 5e979cbfc37c1d4d217e185a2496b1ec35b63973 (patch) | |
| tree | 05f96c12b3a389987a6f746e26257dc2e653f3a5 | |
| parent | ba20d77a444a7125a764e9d69024c6377023b45f (diff) | |
| parent | c855a2f4d65fd45c346993b9ea4c5e3703344272 (diff) | |
| download | rust-5e979cbfc37c1d4d217e185a2496b1ec35b63973.tar.gz rust-5e979cbfc37c1d4d217e185a2496b1ec35b63973.zip | |
Rollup merge of #145336 - clarfonthey:hidden-unicode, r=ibraheemdev
Hide docs for `core::unicode` This module is perma-unstable and shouldn't show up in the public docs. If people want to see the docs for it, they can still run `RUSTDOCFLAGS=--document-hidden-items ./x doc library/core`.
| -rw-r--r-- | library/core/src/unicode/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/unicode/mod.rs b/library/core/src/unicode/mod.rs index 49dbdeb1a6d..191fe7711f9 100644 --- a/library/core/src/unicode/mod.rs +++ b/library/core/src/unicode/mod.rs @@ -1,5 +1,6 @@ +//! Unicode internals used in liballoc and libstd. Not public API. #![unstable(feature = "unicode_internals", issue = "none")] -#![allow(missing_docs)] +#![doc(hidden)] // for use in alloc, not re-exported in std. #[rustfmt::skip] @@ -31,5 +32,4 @@ mod unicode_data; /// /// The version numbering scheme is explained in /// [Unicode 11.0 or later, Section 3.1 Versions of the Unicode Standard](https://www.unicode.org/versions/Unicode11.0.0/ch03.pdf#page=4). -#[stable(feature = "unicode_version", since = "1.45.0")] pub const UNICODE_VERSION: (u8, u8, u8) = unicode_data::UNICODE_VERSION; |
