rust-koans icon indicating copy to clipboard operation
rust-koans copied to clipboard

Koans for the Rust programming language

Results 12 rust-koans issues
Sort by recently updated
recently updated
newest added

Hello, I'd like to thank you for all the hard work that has gone into building this codebase. I've been telling myself for years now that I should learn rust,...

I am going through the koans, and ran into the same problem as issue #55 My googling also lead to the same solution. So here is the fix.

taking koans until arrays.rs:52 was easy, but then there are no comments explaining how to write map or filter in rust btw you could allow [discussions](https://docs.github.com/en/discussions/quickstart) in repo to address...

Usually the koans can be solved by only changing the marked line. I cannot figure out how to conditionally append a space except after the last element of the array....

https://github.com/crazymykl/rust-koans/blob/2e31e3cce84cbed69c8e96c42e5bcf37966bba57/src/koans/integer.rs#L45 such as: ` let __ num: i8 = 1; ` I was confused if it was a test or somehow a helper function.

This adds a few koans to `hash_map.rs`.

https://github.com/crazymykl/rust-koans/blob/c6e819324ce5f455fd2954fa67fc321b674240b5/src/koans/vec.rs#L105-L112 The case above raise a warning: ```shell warning: variable does not need to be mutable --> src/koans/vec.rs:109:9 | 109 | let mut vector = vec![""; 0]; | ----^^^^^^ |...

https://github.com/crazymykl/rust-koans/blob/c6e819324ce5f455fd2954fa67fc321b674240b5/src/koans/vec.rs#L160-L172 Maybe, the tests above will be better if there are hint lines as below. ```rust // Reversing a Vec is pretty easy in Rust #[test] fn reverse_vecs() { let...

Didn't want to break these out into separate tickets (although I can) but I see room for adding more koans. 1. Result 1. Option 1. Crates / Modules (requires thought...