Skip to content

Commit d865adc

Browse files
committed
unconfuse @eddyb
1 parent 3dcdb8a commit d865adc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/tests/manually_drop.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fn smoke() {
2323
drop(x);
2424

2525
// also test unsizing
26-
let x : Box<ManuallyDrop<[TypeWithDrop]>> = Box::new(ManuallyDrop::new([TypeWithDrop]));
26+
let x : Box<ManuallyDrop<[TypeWithDrop]>> =
27+
Box::new(ManuallyDrop::new([TypeWithDrop, TypeWithDrop]));
2728
drop(x);
2829
}

0 commit comments

Comments
 (0)