We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8010604 commit b8eb91aCopy full SHA for b8eb91a
src/libstd/primitive_docs.rs
@@ -594,15 +594,13 @@ mod prim_slice { }
594
//
595
/// String slices.
596
///
597
+/// *[See also the `std::str` module](str/index.html).*
598
+///
599
/// The `str` type, also called a 'string slice', is the most primitive string
600
/// type. It is usually seen in its borrowed form, `&str`. It is also the type
601
/// of string literals, `&'static str`.
602
-/// Strings slices are always valid UTF-8.
-///
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.
+/// String slices are always valid UTF-8.
606
607
/// # Examples
608
0 commit comments