rustlings icon indicating copy to clipboard operation
rustlings copied to clipboard

:crab: Small exercises to get you used to reading and writing Rust code!

Results 285 rustlings issues
Sort by recently updated
recently updated
newest added

facing compilation error when building from source and running `cargo install --force --path .` for 5.6.0 version. OS: Windows 8.1 Rust: rustc **1.72.0** (**stable-x86_64-pc-windows-gnu**) the error as below: ``` error:...

cow1.rs last test `owned_mutation` is missing `to_mut` as described in the comment. As is it is identical to the previous test, `owned_no_mutation`

Examaple if1 requires you to use IF instead of standard function, but it is not enforced ![image](https://github.com/rust-lang/rustlings/assets/775038/ef0d39c7-7e08-4a9e-9612-9c78575250e7) I also noticed similar cases in variables, where I was able to add...

It actually only case 2 that fulfils the excersise instruction to use macro...

Hello, I am new with Rust! Trying to solve the exercise like this: ``` let team1 = Team {goals_scored: 0, goals_conceded: 0}; let entry1 = scores.entry(team_1_name).or_insert(team1); let team2 = Team...

Hello, thank you for the great work in Rustlings! I haven't found any information about it online so maybe it already exists maybe not. I'm planning to use Rustlings for...

C-feature-request

`rustc --version`: rustc 1.71.1 (eb26296b5 2023-08-03) `rustlings --version`: v5.5.1 OS: Microsoft Windows 10 Home 10.0.19045 Build 19045 `rust-analyzer` vscode plugin version: v0.4.1627 vscode version: 1.81.1 ls -la ``` total 29597...

Mac OS version: 13.3.1 (22E261) — Ventura Are there additional steps that would help to troubleshoot the issue? Thank you! Full output is below: ``` % curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh |...

I am having an issue similar to the issues described here: https://github.com/rust-lang/rust-analyzer/issues/12235 and here https://github.com/rust-lang/rust-analyzer/issues/4894. So I tried this on multiple machines: - Machine A: Windows, Rust using MSVC, VSCode...