diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-04-29 14:45:36 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-05-03 22:09:33 -0700 |
| commit | 8c781b0906209e81f3540d1495becddae9894a25 (patch) | |
| tree | d081346058cea327d2c659352cc2b52cd98489fb /library/core/src/ascii.rs | |
| parent | 831c9298c8e6542e3ab395216e98aec21f60b470 (diff) | |
| download | rust-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.rs | 4 |
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 |
