This project contains small exercises to get you used to reading and writing Rust code. This includes reading and responding to compiler messages! Alternatively, for a first-time Rust learner, there are several other resources, like The Book, which is the most comprehensive resource for learning Rust, but a bit theoretical sometimes. You will be using this along with Rustlings! And also, Rust By Example, to learn Rust by solving little exercises! It's almost like rustlings, but online. You will need to have Rust installed. The exercises are sorted by topic and can be found in the subdirectory rustlings/exercises/<topic>. For every topic there is an additional README file with some resources to get you started on the topic. We really recommend that you have a look at them before you start. The task is simple. Most exercises contain an error that keeps them from compiling, and it's up to you to fix it! Some exercises are also run as tests, but rustlings handles them all the same.

Features

  • Small exercises to get you used to reading and writing Rust code
  • Shows you how to read and respond to compiler messages
  • Requires to have Rust installed
  • The exercises are sorted by topic
  • For every topic there is an additional file with resources
  • Some exercises are also run as tests

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow rustlings

rustlings Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of rustlings!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Library Management Software, Rust Exam Software

Registered

2021-03-29