Commit Graph

104 Commits (de65026db0cc44e0cafff418f731663f5c1e14a4)

Author SHA1 Message Date
Dan Wilhelm 9590082848 fix: update iterator and macro text for typos and clarity
- /macros/README.md: Typo "modules" => "macros"
- iterators2.py: Reduce line length to <90-char width.
- iterators4.py: Update 'fun' => 'challenge' as per PR#177
- rustlings hint iterators4: improve clarity
4 years ago
Steven Mann 630ff0e00b
chore: add explanatory comment to clippy1 4 years ago
lebedevsergey c9e4f2cfb4
fix: confusing comment in conversions/try_from_into.rs
Co-authored-by: Lebedev <sergey.lebedev@corp.mail.ru>
4 years ago
Ufuk Celebi 6c3cc2caf5
chore: delete orphaned `error_handling/option1.rs`
`error_handling/option1.rs` has been replaced by `option/option1.rs` and
is not referenced in `info.toml` any more.
4 years ago
Said Aspen 5999acd24a
feat: Add exercise variables6 covering const (#352) 4 years ago
fmoko 052f0aa7d4
Merge pull request #292 from Tuxified/patch-1
Remove duplicate not done comment
4 years ago
Tonći Galić 60393999b8
remove bottom comment instead of top 4 years ago
Roberto Vidal b3a3351e8e
fix: revert primitive_types4 (#296) 4 years ago
Sanjay K 86b5c08b9b
feat: Add Option2 exercise (#290)
* added option2

* changed up the exercise, modified the help section

* Update exercises/option/option2.rs

Co-Authored-By: fmoko <mokou@posteo.net>

* Update exercises/option/option2.rs

Co-Authored-By: fmoko <mokou@posteo.net>

* Update exercises/option/option2.rs

Co-Authored-By: fmoko <mokou@posteo.net>

Co-authored-by: fmoko <mokou@posteo.net>
4 years ago
Tonći Galić dab90f7b91
Remove duplicate not done comment
As indicated in #259 , I found it confusing to have 2 comments as the code wouldn't compile unless I solved both issues (I used the script from #281 to remove a comment and use `:wn` to go to next exercise, hence this tripped me).
4 years ago
Roberto Vidal 3b6d5c3aaa feature: makes "compile" exercise print output, resolves #270
When running "compile"-mode exercises in interactive `verify` mode,
we print their output when we prompt the learner if they want to
continue. This improves the "experimentation" experience, since
trying different things does produce a visible change.
5 years ago
fmoko 7ce42941ea
Merge pull request #282 from sanjaykdragon/master
feat: added option exercise
5 years ago
fmoko b135b589e0
Merge pull request #280 from sjmann/generics-exercises
feat: added generics exercises
5 years ago
Sanjay K 05ca3d77f7 Merge branch 'master' of https://github.com/sanjaykdragon/rustlings 5 years ago
Sanjay K 6deee7e3e9 fixed spacing 5 years ago
Sanjay K 9788496a85
Update option1.rs 5 years ago
Sanjay K 6d3a412d47
Update option1.rs 5 years ago
skim bc22ec382f
adds additional test to meet exercise rules 5 years ago
Sanjay K 135e5d47a7 feat: added excercise for option 5 years ago
sjmann 0f8001ea44 add I AM NOT DONE comments 5 years ago
sjmann 29b30ec946 Merge branch 'master' of https://github.com/sjmann/rustlings into generics-exercises 5 years ago
sjmann 76be5e4e99 feat: added new exercises for generics 5 years ago
Mario Reder 1e2fd9c92f feat: Add clippy lints
- adds a new 'clippy' category for exercises
- clippy exercises should throw no warnings
- install script now also installs clippy

is related to https://github.com/rust-lang/rust-clippy/issues/2604
5 years ago
bors 78295ce92f Auto merge of #274 - sjmann:master, r=fmoko
chore: fixed merge conflicts from traits exercises added by s-marios

I hope this doesn't step on any toes but I wanted to try the traits exercises from #216 so I updated them to match the new structure with hints included in info.toml
5 years ago
Stig Johan Berggren a45486f2d0
Add a second test case 5 years ago
Stig Johan Berggren 8b971ffab6
Enable test for exercise test4 5 years ago
Steven Mann dc84aacc65
remove confusing comment wording 5 years ago
sjmann b559cdd73f added traits exercises 5 years ago
sjmann a3f70124dc fixed typo 5 years ago
sjmann bec8e3a644 reworded missing exercise explanation 5 years ago
Jason Tsai 39fa7ae8b7 chore: Correct test command in tests1.rs comment 5 years ago
Paul Bissex ade52ffb73
Fixed mangled sentence from book; edited for clarity 5 years ago
Torben Jonas 0c73609e6f feat: Add variables5.rs exercise
closes #260
5 years ago
gnodarse fd57f8f2c1 Created consistent money unit 5 years ago
dmitri-mamrukov dfdf8093eb
Enable a test and improve per clippy's suggestion. 5 years ago
Abdou Seck fc26b5e151 I AM NOT DONE comment in conversions exercise files 5 years ago
Abdou Seck 0c85dc1193 feat: Add type conversion and parsing exercises 5 years ago
marisa fe10e06c37
fix(tests1): Change test command
Closes #243.
5 years ago
Rahat Ahmed 54571a5fca
fix(iterators2): Remove reference to missing iterators2.rs 5 years ago
Jens 31c25ebb50
Add link to chapter on pattern syntax
After being stuck on exercise enums3.rs for about an hour or two, having read the entire chapter on enums 2-3 times, and still being unable to complete the exercise, i started broadening my reading. I finally found the answer in the rust docs via google.
5 years ago
Roberto Vidal b565c4d3e7 fix: line numbers in several exercises and hints
The introduction of `I AM NOT DONE` shifted the lines of all
exercises, which now need adjustment.
5 years ago
Chris Keschnat c42c3b2101
fix(arc1): Fix some words in the comment 5 years ago
Chris Keschnat fda5a47069 fix(variables1): Correct wrong word in comment 5 years ago
Roberto Vidal ded2c034ba fix(primitive_types4): update outdated comment 5 years ago
marisa 1a7bb5a400 Address feedback 5 years ago
marisa ec2d4bd3ee
Merge branch 'master' into refactor-hints 5 years ago
marisa 9bdb0a12e4 feat: Refactor hint system
Hints are now accessible using the CLI subcommand `rustlings hint
<exercise name`.

BREAKING CHANGE: This fundamentally changes the way people interact with exercises.
5 years ago
Roberto Vidal 2cdd61294f feat: improve `watch` execution mode
The `watch` command now requires user action to move to the next
exercise.

BREAKING CHANGE: this changes the behavior of `watch`.
5 years ago
marisa f72e5a8f05 fix(structs1): Remove misleading comment 5 years ago
marisa 6dcecb38a4 fix(strings): Move Strings before Structs
Closes #204.
5 years ago