Skip to content

Commit

Permalink
make std::str link into See also link
Browse files Browse the repository at this point in the history
also make a drive-by typo fix
  • Loading branch information
ExpHP committed May 9, 2018
1 parent 8010604 commit b8eb91a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/libstd/primitive_docs.rs
Expand Up @@ -594,15 +594,13 @@ mod prim_slice { }
//
/// String slices.
///
/// *[See also the `std::str` module](str/index.html).*
///
/// The `str` type, also called a 'string slice', is the most primitive string
/// type. It is usually seen in its borrowed form, `&str`. It is also the type
/// of string literals, `&'static str`.
///
/// Strings slices are always valid UTF-8.
///
/// This documentation describes a number of methods and trait implementations
/// on the `str` type. For technical reasons, there is additional, separate
/// documentation in the [`std::str`](str/index.html) module as well.
/// String slices are always valid UTF-8.
///
/// # Examples
///
Expand Down

0 comments on commit b8eb91a

Please sign in to comment.