File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
//! Operations on ASCII strings and characters.
12
+ //!
13
+ //! Most string operations in Rust act on UTF-8 strings. However, at times it
14
+ //! makes more sense to only consider the ASCII character set for a specific
15
+ //! operation.
16
+ //!
17
+ //! The [`AsciiExt`] trait provides methods that allow for character
18
+ //! operations that only act on the ASCII subset and leave non-ASCII characters
19
+ //! alone.
20
+ //!
21
+ //! The [`escape_default`] function provides an iterator over the bytes of an
22
+ //! escaped version of the character given.
23
+ //!
24
+ //! [`AsciiExt`]: trait.AsciiExt.html
25
+ //! [`escape_default`]: fn.escape_default.html
12
26
13
27
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
14
28
You can’t perform that action at this time.
0 commit comments