diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/vectors.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc/trpl/vectors.md b/src/doc/trpl/vectors.md index cba435233fa..0dfbfc11913 100644 --- a/src/doc/trpl/vectors.md +++ b/src/doc/trpl/vectors.md @@ -1,8 +1,7 @@ % Vectors A *vector* is a dynamic or "growable" array, implemented as the standard -library type [`Vec<T>`](../std/vec/) (we'll talk about what the `<T>` means -later). Vectors always allocate their data on the heap. Vectors are to slices +library type [`Vec<T>`](../std/vec/) (Where `<T>` is a [Generic](./generics.md) statement). Vectors always allocate their data on the heap. Vectors are to slices what `String` is to `&str`. You can create them with the `vec!` macro: ```{rust} |
