We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394269d commit c8106a0Copy full SHA for c8106a0
src/libcollections/str.rs
@@ -42,9 +42,9 @@
42
//! # Representation
43
//!
44
//! Rust's string type, `str`, is a sequence of Unicode scalar values encoded as a
45
-//! stream of UTF-8 bytes. All strings are guaranteed to be validly encoded UTF-8
46
-//! sequences. Additionally, strings are not null-terminated and can thus contain
47
-//! null bytes.
+//! stream of UTF-8 bytes. All [strings](../../reference.html#literals) are
+//! guaranteed to be validly encoded UTF-8 sequences. Additionally, strings are
+//! not null-terminated and can thus contain null bytes.
48
49
//! The actual representation of strings have direct mappings to slices: `&str`
50
//! is the same as `&[u8]`.
0 commit comments