Exercices might follow the official Rust book order

Open
#2,340 2 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust
Domain
content

Research direction

The issue names no files or tests. Start by comparing the current Rustlings exercise order with the official Rust book sequence; done would require an agreed ordering that lets learners progress through book chapters and exercises in parallel.

Written by the indexing model from the issue text.

Description

I am currently learning Rust from the beginning and I discovered the book and rustling while searching on the web. Thanks a lot for these resources !

I really like the idea to have more exercises than the ones on the book so, as recommended in the rustlings web site I started the book and rustlings in parallel.

However, I realized that the order used in the rustling is not quite the same as the order from the book. For instance, Vectors come just after primitives in rustling. In the book they are only briefly mentioned during the data types and are really used way later, after ownership, structs, enums and modules.

It would be very neat if one could read a book chapter and then continue rustlings exercises until one hit a wall, and then resume reading the book to come back later to the exercises.

What do you think ?

I am still following my learning, so i might proposed later a different order with maybe modified exercises to adjust what "features" can be used.

Dominant language
Rust
Stars
64.6k
Forks
11.3k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/rustlings

All issues in rust-lang/rustlings

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.