diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:11:13 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-23 15:11:13 -0700 |
| commit | fcf2ba794ec9522296db1df438e89dc70e447f59 (patch) | |
| tree | 8c4bc8d4ec5801677edcff41650d1cb6ee1e8389 /src/libstd/lib.rs | |
| parent | 8a15868206b3bf47cbe8f19d93551adcfda9bb6d (diff) | |
| parent | d52c36246a2e7e1d263b31709424798cfdaa00e3 (diff) | |
| download | rust-fcf2ba794ec9522296db1df438e89dc70e447f59.tar.gz rust-fcf2ba794ec9522296db1df438e89dc70e447f59.zip | |
rollup merge of #23641: steveklabnik/gh23632
Fixes #23632
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 568b680ddaa..aa6461a93eb 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -40,11 +40,11 @@ //! //! ## Vectors, slices and strings //! -//! The common container type, `Vec`, a growable vector backed by an -//! array, lives in the [`vec`](vec/index.html) module. References to -//! arrays, `&[T]`, more commonly called "slices", are built-in types -//! for which the [`slice`](slice/index.html) module defines many -//! methods. +//! The common container type, `Vec`, a growable vector backed by an array, +//! lives in the [`vec`](vec/index.html) module. Contiguous, unsized regions +//! of memory, `[T]`, commonly called "slices", and their borrowed versions, +//! `&[T]`, commonly called "borrowed slices", are built-in types for which the +//! for which the [`slice`](slice/index.html) module defines many methods. //! //! `&str`, a UTF-8 string, is a built-in type, and the standard library //! defines methods for it on a variety of traits in the |
