Skip to content

Commit d1b9319

Browse files
Fix silly mistake in last commit
1 parent 1e28851 commit d1b9319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_staticvec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ fn filled_with() {
617617
assert_eq!(v[1], 2);
618618
assert_eq!(v[2], 3);
619619
assert_eq!(v[3], 4);
620-
let v2 = StaticVec::<i32, 64>::filled_with(|| { 0 });
620+
let v2 = StaticVec::<i32, 0>::filled_with(|| { 0 });
621621
assert_eq!(v2.len(), 0);
622622
assert_eq!(v2.capacity(), 0);
623623
assert_eq!(v2.remaining_capacity(), 0);

0 commit comments

Comments
 (0)