rust/src/libstd_unicode
Behnam Esfahbod 86a79c9710 [libstd_unicode] Expose UnicodeVersion type
In <https://github.com/rust-lang/rust/pull/42998>, we added an
uninstantiable type for the internal `UNICODE_VERSION` value,
`UnicodeVersion`, but it was not made public to the outside of the
crate, resulting in the value becoming less useful. Here we make the
type accessible from the outside.

Also add a run-pass test to make sure the type and value can be accessed
as intended.
2017-09-18 20:39:17 -07:00
..
tests Utf8Lossy type with chunks iterator and impl Display and Debug 2017-06-15 20:42:35 +01:00
Cargo.toml Utf8Lossy type with chunks iterator and impl Display and Debug 2017-06-15 20:42:35 +01:00
char.rs [libstd_unicode] Expose UnicodeVersion type 2017-09-18 20:39:17 -07:00
lib.rs *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
lossy.rs std: Respect formatting flags for str-like OsStr 2017-08-13 21:07:03 -07:00
tables.rs [libstd_unicode] Create UnicodeVersion type 2017-07-21 12:09:02 -06:00
u_str.rs impl Debug for SplitWhitespace. 2017-09-03 19:13:01 -04:00
unicode.py [libstd_unicode] Create UnicodeVersion type 2017-07-21 12:09:02 -06:00