Skip to content

Commit

Permalink
Add more std::ascii module-level docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Bulkin committed Apr 1, 2017
1 parent d8fb322 commit a5d775d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/libstd/ascii.rs
Expand Up @@ -9,6 +9,20 @@
// except according to those terms.

//! Operations on ASCII strings and characters.
//!
//! Most string operations in Rust act on UTF-8 strings. However, at times it
//! makes more sense to only consider the ASCII character set for a specific
//! operation.
//!
//! The [`AsciiExt`] trait provides methods that allow for character
//! operations that only act on the ASCII subset and leave non-ASCII characters
//! alone.
//!
//! The [`escape_default`] function provides an iterator over the bytes of an
//! escaped version of the character given.
//!
//! [`AsciiExt`]: trait.AsciiExt.html
//! [`escape_default`]: fn.escape_default.html

#![stable(feature = "rust1", since = "1.0.0")]

Expand Down

0 comments on commit a5d775d

Please sign in to comment.