Skip to content

Commit 5e979cb

Browse files
authored
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`.
2 parents ba20d77 + c855a2f commit 5e979cb

File tree

1 file changed

+2
-2
lines changed
  • library/core/src/unicode

1 file changed

+2
-2
lines changed

library/core/src/unicode/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
//! Unicode internals used in liballoc and libstd. Not public API.
12
#![unstable(feature = "unicode_internals", issue = "none")]
2-
#![allow(missing_docs)]
3+
#![doc(hidden)]
34

45
// for use in alloc, not re-exported in std.
56
#[rustfmt::skip]
@@ -31,5 +32,4 @@ mod unicode_data;
3132
///
3233
/// The version numbering scheme is explained in
3334
/// [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).
34-
#[stable(feature = "unicode_version", since = "1.45.0")]
3535
pub const UNICODE_VERSION: (u8, u8, u8) = unicode_data::UNICODE_VERSION;

0 commit comments

Comments
 (0)