parent
ecf8c64e1b
commit
d52c36246a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue