We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent febe8b0 commit 7cf929aCopy full SHA for 7cf929a
README.md
@@ -28,7 +28,7 @@ rust-smallvec
28
use smallvec::{SmallVec, smallvec};
29
30
// This SmallVec can hold up to 4 items on the stack:
31
-let mut v: SmallVec<[i32; 4]> = smallvec![1, 2, 3, 4];
+let mut v: SmallVec<i32, 4> = smallvec![1, 2, 3, 4];
32
33
// It will automatically move its contents to the heap if
34
// contains more than four items:
0 commit comments