Skip to content

Commit c8106a0

Browse files
committed
Link std::str to reference literals section
1 parent 394269d commit c8106a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcollections/str.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
//! # Representation
4343
//!
4444
//! 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.
45+
//! stream of UTF-8 bytes. All [strings](../../reference.html#literals) are
46+
//! guaranteed to be validly encoded UTF-8 sequences. Additionally, strings are
47+
//! not null-terminated and can thus contain null bytes.
4848
//!
4949
//! The actual representation of strings have direct mappings to slices: `&str`
5050
//! is the same as `&[u8]`.

0 commit comments

Comments
 (0)