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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start 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