about summary refs log tree commit diff
path: root/library/core/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/core/src/ascii.rs
parent831c9298c8e6542e3ab395216e98aec21f60b470 (diff)
downloadrust-8c781b0906209e81f3540d1495becddae9894a25.tar.gz
rust-8c781b0906209e81f3540d1495becddae9894a25.zip
Add the basic `ascii::Char` type
Diffstat (limited to 'library/core/src/ascii.rs')
-rw-r--r--library/core/src/ascii.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/core/src/ascii.rs b/library/core/src/ascii.rs
index 8a4cb78cc7f..6034c8afce9 100644
--- a/library/core/src/ascii.rs
+++ b/library/core/src/ascii.rs
@@ -14,6 +14,10 @@ use crate::iter::FusedIterator;
 use crate::ops::Range;
 use crate::str::from_utf8_unchecked;
 
+mod ascii_char;
+#[unstable(feature = "ascii_char", issue = "110998")]
+pub use ascii_char::AsciiChar as Char;
+
 /// An iterator over the escaped version of a byte.
 ///
 /// This `struct` is created by the [`escape_default`] function. See its