Skip to content

Commit

Permalink
Revert "Make README example work (#344)"
Browse files Browse the repository at this point in the history
This reverts commit febe8b0.
  • Loading branch information
mbrubeck committed Mar 20, 2024
1 parent febe8b0 commit 7cf929a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -28,7 +28,7 @@ rust-smallvec
use smallvec::{SmallVec, smallvec};

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

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

0 comments on commit 7cf929a

Please sign in to comment.