diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-14 10:55:57 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-14 10:55:57 -0700 |
| commit | cf53ae03daa2957fb9a20483a907ae3b385f25e8 (patch) | |
| tree | 520725d4983d3bd4a3464c52232080bd5c375c5d | |
| parent | ecbbbfa258c8dd8df1da6585031593b5341afb69 (diff) | |
| parent | 57e3475794ae7c71d4848059a09b5851d2af914a (diff) | |
| download | rust-cf53ae03daa2957fb9a20483a907ae3b385f25e8.tar.gz rust-cf53ae03daa2957fb9a20483a907ae3b385f25e8.zip | |
rollup merge of #24394: rundrop1/patch-1
Feel silly because it's just one thing but it was bothering me that the documentation tells you what you're not going to learn now instead of linking to the item in question. Am total noob pls assist, where is power button. :)
| -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} |
