rust-lang / rust-lang/rustlings

Exercises with Modules

Open
#1,143 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-exercises C-new-exercise P-medium
Dominant language
Rust
Stars
64.2k
Forks
11.3k
Avg merge
5h 24m
Merged PRs (30d)
2

Description

Hi, I would like to add more exercises about modules that involve the declaration of modules in subdirectories and separate files. In this way, students can make sure they understand better scope and privacy concepts and rules around the naming of directories and files. Are you OK with that? Thank you

Contributor guide

Open the contributing guide

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.

Research direction

Review the existing Rustlings exercise layout and module-related exercises first, since the issue names no specific files or tests. Add exercises covering module declarations in subdirectories and separate files, including scope, privacy, and directory/file naming rules; done means those concepts are represented in runnable exercises.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.