diff --git a/library/core/src/unicode/mod.rs b/library/core/src/unicode/mod.rs index e8b888c9507..72fa059b787 100644 --- a/library/core/src/unicode/mod.rs +++ b/library/core/src/unicode/mod.rs @@ -1,9 +1,7 @@ -#![stable(feature = "unicode_version", since = "1.45.0")] +#![unstable(feature = "unicode_internals", issue = "none")] #![allow(missing_docs)] -#[unstable(feature = "unicode_internals", issue = "none")] pub(crate) mod printable; -#[unstable(feature = "unicode_internals", issue = "none")] mod unicode_data; /// The version of [Unicode](https://www.unicode.org/) that the Unicode parts of @@ -20,7 +18,6 @@ pub const UNICODE_VERSION: (u8, u8, u8) = unicode_data::UNICODE_VERSION; // For use in liballoc, not re-exported in libstd. -#[unstable(feature = "unicode_internals", issue = "none")] pub use unicode_data::{ case_ignorable::lookup as Case_Ignorable, cased::lookup as Cased, conversions, }; diff --git a/library/core/tests/unicode.rs b/library/core/tests/unicode.rs index c28ea859115..bbace0ef66c 100644 --- a/library/core/tests/unicode.rs +++ b/library/core/tests/unicode.rs @@ -1,5 +1,5 @@ #[test] pub fn version() { - let (major, _minor, _update) = core::unicode::UNICODE_VERSION; + let (major, _minor, _update) = core::char::UNICODE_VERSION; assert!(major >= 10); }