mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
Fix vec test compile error.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#[miri_run]
|
||||
fn make_vec() -> Vec<i32> {
|
||||
let v = Vec::with_capacity(4);
|
||||
let mut v = Vec::with_capacity(4);
|
||||
v.push(1);
|
||||
v.push(2);
|
||||
v
|
||||
|
||||
Reference in New Issue
Block a user