rustlings
rustlings copied to clipboard
The exercise `primitive_types3` pass even if the array is small
That's part of the idea behind the exercise!
That's part of the idea behind the exercise!
@shadows-withal But why does the comment then state: // Create an array with at least 100 elements... when it passes with less then 100 elements?
@mobergmann Good question and I'm not sure why last-year-me closed this issue. This should be fixed by making the exercise rely on tests instead.
The current version panics when the array isn't big enough.