This commit is contained in:
Ruud Salym J Erie 2022-11-07 19:28:54 -03:00
parent 8a51e6af15
commit f1145acb06

View File

@ -4,7 +4,6 @@
// Make me compile and pass the test!
// Execute `rustlings hint vecs1` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
fn array_and_vec() -> ([i32; 4], Vec<i32>) {
let a = [10, 20, 30, 40]; // a plain array