You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :)
Copy file name to clipboardExpand all lines: src/doc/trpl/vectors.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
1
% Vectors
2
2
3
3
A *vector* is a dynamic or "growable" array, implemented as the standard
4
-
library type [`Vec<T>`](../std/vec/) (we'll talk about what the `<T>` means
5
-
later). Vectors always allocate their data on the heap. Vectors are to slices
4
+
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
6
5
what `String` is to `&str`. You can create them with the `vec!` macro:
0 commit comments