Skip to content

Commit

Permalink
Let the excercise fail to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jörn Bethune committed Jan 2, 2025
1 parent a351636 commit 22d13d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/05_vecs/vecs1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn array_and_vec() -> ([i32; 4], Vec<i32>) {
let a = [10, 20, 30, 40]; // Array. Do not change!

// There is a similar way you can define a vector with initial values:
let v = vec![20, 30, 40]; // Vector. Needs to be fixed
// let v = vec![10, 20, ???]; // Vector. Needs to be fixed

// TODO: Adjust the vector definition above so that `a` and `v` have the
// same contents.
Expand Down

0 comments on commit 22d13d9

Please sign in to comment.