diff options
| author | mdinger <mdinger.bugzilla@gmail.com> | 2014-11-20 14:10:25 -0500 |
|---|---|---|
| committer | mdinger <mdinger.bugzilla@gmail.com> | 2014-11-20 14:10:25 -0500 |
| commit | c8106a016f135aca147602ec8fae4d070bdc49f7 (patch) | |
| tree | 4a5e48e001a1fb2c03024dc8005d9ceb0fc46771 | |
| parent | 394269d16e3752a23ffa273e68f8aaefd2a510c4 (diff) | |
| download | rust-c8106a016f135aca147602ec8fae4d070bdc49f7.tar.gz rust-c8106a016f135aca147602ec8fae4d070bdc49f7.zip | |
Link std::str to reference literals section
| -rw-r--r-- | src/libcollections/str.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index aaa7da312f2..a7df5f4644a 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -42,9 +42,9 @@ //! # Representation //! //! Rust's string type, `str`, is a sequence of Unicode scalar values encoded as a -//! stream of UTF-8 bytes. All strings are guaranteed to be validly encoded UTF-8 -//! sequences. Additionally, strings are not null-terminated and can thus contain -//! 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. //! //! The actual representation of strings have direct mappings to slices: `&str` //! is the same as `&[u8]`. |
