Remo Senekowitsch 97a723508c
Redesign vec1 to avoid confusing array literal
Learners were sometimes confused by the literal array. Their assumption
was that they are supposed to convert the array to a vector. Duplicating
the literal elements was not an intuitive solution.

This redesign avoids putting an identical array literal near the place
where learners are supposed to use the vec! macro.
2026-05-14 16:19:53 +02:00
..
2024-05-25 18:19:30 +02:00
2025-05-12 20:31:13 +02:00
2024-10-09 15:27:36 +02:00
2024-06-27 02:25:11 +02:00
2024-07-22 12:02:59 +02:00
2025-11-20 12:49:27 +01:00
2024-08-09 12:47:32 +02:00

Official Rustlings solutions

Before you finish an exercise, its solution file will only contain an empty main function. The content of this file will be automatically replaced by the actual solution once you finish the exercise.

Note that these solutions are often only one possibility to solve an exercise.