mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-01 00:09:18 +00:00
Merge 74a8c7959f4fe6ff8e32bc1d979b3454c0bec525 into 7850a73d95c02840f4ab3bf8d9571b08410e5467
This commit is contained in:
commit
615485897b
@ -2,7 +2,6 @@ fn array_and_vec() -> ([i32; 4], Vec<i32>) {
|
|||||||
let a = [10, 20, 30, 40]; // Array
|
let a = [10, 20, 30, 40]; // Array
|
||||||
|
|
||||||
// TODO: Create a vector called `v` which contains the exact same elements as in the array `a`.
|
// TODO: Create a vector called `v` which contains the exact same elements as in the array `a`.
|
||||||
// Use the vector macro.
|
|
||||||
// let v = ???;
|
// let v = ???;
|
||||||
|
|
||||||
(a, v)
|
(a, v)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user