mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 23:10:30 +00:00
Compare commits
2 commits
5734bd6082
...
2712061469
Author | SHA1 | Date | |
---|---|---|---|
|
2712061469 | ||
|
74a8c7959f |
1 changed files with 0 additions and 1 deletions
|
@ -2,7 +2,6 @@ fn array_and_vec() -> ([i32; 4], Vec<i32>) {
|
|||
let a = [10, 20, 30, 40]; // Array
|
||||
|
||||
// TODO: Create a vector called `v` which contains the exact same elements as in the array `a`.
|
||||
// Use the vector macro.
|
||||
// let v = ???;
|
||||
|
||||
(a, v)
|
||||
|
|
Loading…
Reference in a new issue