revert changes to unicode stability

This commit is contained in:
Jane Losare-Lusby 2022-04-29 22:35:11 +00:00
parent e7fe5456c5
commit d68cb1f9a3
2 changed files with 2 additions and 5 deletions

View File

@ -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,
};

View File

@ -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);
}