mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-02-12 04:39:19 +00:00
Merge 74a8c7959f4fe6ff8e32bc1d979b3454c0bec525 into 87ac600b7c050538b1622084ea7c356b8a1d02bc
This commit is contained in:
commit
a41f35a7b4
@ -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…
x
Reference in New Issue
Block a user