100-exercises-to-learn-rust icon indicating copy to clipboard operation
100-exercises-to-learn-rust copied to clipboard

Questionable assignment in (06) ticket_management (11) mutable_slices

Open Burnus opened this issue 1 year ago • 1 comments

Should the question on line 3 really be about &mut [str], not &mut str? I mean, you can easily take an array here, but neither the tests nor the TODO indicate that you should.

Burnus avatar May 19 '24 09:05 Burnus

In addition, make_ascii_lowercase is incorrect since it cannot handle Unicode, and it's not mentioned in the description that only ASCII characters are supported (granted the tests in the file only have ASCII).

timmyjose avatar May 23 '24 12:05 timmyjose