Skip to content

Commit 7cf929a

Browse files
committed
Revert "Make README example work (#344)"
This reverts commit febe8b0.
1 parent febe8b0 commit 7cf929a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rust-smallvec
2828
use smallvec::{SmallVec, smallvec};
2929

3030
// This SmallVec can hold up to 4 items on the stack:
31-
let mut v: SmallVec<[i32; 4]> = smallvec![1, 2, 3, 4];
31+
let mut v: SmallVec<i32, 4> = smallvec![1, 2, 3, 4];
3232

3333
// It will automatically move its contents to the heap if
3434
// contains more than four items:

0 commit comments

Comments
 (0)