From 74a8c7959f4fe6ff8e32bc1d979b3454c0bec525 Mon Sep 17 00:00:00 2001 From: Grimace of Despair Date: Mon, 2 Dec 2024 04:12:18 +0100 Subject: [PATCH] Do not suggest vec macro for vecs1.rs The solution uses the to_vec function rather than the vec macro --- exercises/05_vecs/vecs1.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/exercises/05_vecs/vecs1.rs b/exercises/05_vecs/vecs1.rs index 68e1affa..f66a125b 100644 --- a/exercises/05_vecs/vecs1.rs +++ b/exercises/05_vecs/vecs1.rs @@ -2,7 +2,6 @@ fn array_and_vec() -> ([i32; 4], Vec) { 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)