about summary refs log tree commit diff
path: root/library/std/src/ascii.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2023-04-29 14:45:36 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2023-05-03 22:09:33 -0700
commit8c781b0906209e81f3540d1495becddae9894a25 (patch)
treed081346058cea327d2c659352cc2b52cd98489fb /library/std/src/ascii.rs
parent831c9298c8e6542e3ab395216e98aec21f60b470 (diff)
downloadrust-8c781b0906209e81f3540d1495becddae9894a25.tar.gz
rust-8c781b0906209e81f3540d1495becddae9894a25.zip
Add the basic `ascii::Char` type
Diffstat (limited to 'library/std/src/ascii.rs')
-rw-r--r--library/std/src/ascii.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/ascii.rs b/library/std/src/ascii.rs
index c29f015777f..b18ab50de12 100644
--- a/library/std/src/ascii.rs
+++ b/library/std/src/ascii.rs
@@ -16,6 +16,9 @@
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::ascii::{escape_default, EscapeDefault};
 
+#[unstable(feature = "ascii_char", issue = "110998")]
+pub use core::ascii::Char;
+
 /// Extension methods for ASCII-subset only operations.
 ///
 /// Be aware that operations on seemingly non-ASCII characters can sometimes