Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It is, by implementing a custom struct, however I don't think it's a problem here. I believe it is more simple for everyone (and since it has been designed this way we're not gonna change it since it works and it would invalidate all previous solution).
Is it a problem?
There is no real advantage, it just makes the solution merely functional (no need for a named argument). It's a different programming style!
Do you know you can fork the solution and see what happens if you remove this part? Just click on
fork
below the code. Rust compiler explains things very well :)