You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"counts" in Rust are by default represented as usize.
This might be a breaking change if the tests expect a u32.
(wipe community solutions 👎)
But it may well be possible to fix the tests to merge check_word_count into each test case and let type inference handle the rest.
By not referring to u32 or usize explicitly, a breaking change can be avoided.
This would also move "Remove all util functions from test files" (#1824) forward.
I got the idea while updating my solution, refactoring a bit using hashbag and having to manually convert from usize to the less idiomatic u32.
The text was updated successfully, but these errors were encountered:
"counts" in Rust are by default represented as
usize
.This might be a breaking change if the tests expect a u32.
(wipe community solutions 👎)
But it may well be possible to fix the tests to merge
check_word_count
into each test case and let type inference handle the rest.By not referring to
u32
orusize
explicitly, a breaking change can be avoided.This would also move "Remove all util functions from test files" (#1824) forward.
I got the idea while updating my solution, refactoring a bit using
hashbag
and having to manually convert fromusize
to the less idiomaticu32
.The text was updated successfully, but these errors were encountered: