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.
There's a known problem with some of Rust kata. Rust version got recently updated on Codewars and now some kata do not compile correctly. They are being updated gradually, but there's still ~100 of them to go. I will try to get someone on this one, but I do not know when it will get fixed :( Just back up your code somewhere and try again tomorrow, or in a couple of days. Hopefully it will get processed until then.
It works on my end if I change the Rust version from
1.44
to1.49
. It's related to therand
crate dependency that introduced a breaking change.Let me know if that resolves the issue.
Hi I wrote my program in Rust and get this feedback, what could be wrong?
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> src/lib.rs:94:31
|
94 | test.push(rng.gen_range(range.0..=range.1));
| ^^^^^^^^^ ----------------- supplied 1 argument
| |
| expected 2 arguments
error: aborting due to previous error
For more information about this error, try
rustc --explain E0061
.error: could not compile
qualified-rust
.NOTE: Line numbers in error messages can be incorrect due to concatenation.