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 { }
594
594
//
595
595
/// String slices.
596
596
///
597
+ /// *[See also the `std::str` module](str/index.html).*
598
+ ///
597
599
/// The `str` type, also called a 'string slice', is the most primitive string
598
600
/// type. It is usually seen in its borrowed form, `&str`. It is also the type
599
601
/// of string literals, `&'static str`.
600
602
///
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.
606
604
///
607
605
/// # Examples
608
606
///
You can’t perform that action at this time.
0 commit comments