rust/src/libcore/unicode/mod.rs
Aleksey Kladov a0c186c34f remove XID and Pattern_White_Space unicode tables from libcore
They are only used by rustc_lexer, and are not needed elsewhere.

So we move the relevant definitions into rustc_lexer (while the actual
unicode data comes from the unicode-xid crate) and make the rest of
the compiler use it.
2019-09-04 13:11:11 +03:00

15 lines
425 B
Rust

#![unstable(feature = "unicode_internals", issue = "0")]
#![allow(missing_docs)]
mod bool_trie;
pub(crate) mod printable;
pub(crate) mod tables;
pub(crate) mod version;
// For use in liballoc, not re-exported in libstd.
pub mod derived_property {
pub use crate::unicode::tables::derived_property::{Case_Ignorable, Cased};
}
pub mod conversions {
pub use crate::unicode::tables::conversions::{to_lower, to_upper};
}