File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -594,15 +594,13 @@ mod prim_slice { }
594594//
595595/// String slices.
596596///
597+ /// *[See also the `std::str` module](str/index.html).*
598+ ///
597599/// The `str` type, also called a 'string slice', is the most primitive string
598600/// type. It is usually seen in its borrowed form, `&str`. It is also the type
599601/// of string literals, `&'static str`.
600602///
601- /// Strings slices are always valid UTF-8.
602- ///
603- /// This documentation describes a number of methods and trait implementations
604- /// on the `str` type. For technical reasons, there is additional, separate
605- /// documentation in the [`std::str`](str/index.html) module as well.
603+ /// String slices are always valid UTF-8.
606604///
607605/// # Examples
608606///
You can’t perform that action at this time.
0 commit comments