fmoko
052f0aa7d4
Merge pull request #292 from Tuxified/patch-1
...
Remove duplicate not done comment
5 years ago
Tonći Galić
60393999b8
remove bottom comment instead of top
5 years ago
Roberto Vidal
b3a3351e8e
fix: revert primitive_types4 ( #296 )
5 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>
5 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).
5 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
marisa
dcfb427b09
fix(errors3): Update hint
...
Closes #185 .
5 years ago
marisa
ad03d180c9
fix(if1): Remove `return` reference
...
This closes #153 .
5 years ago
bors
c6dad28ddc
Auto merge of #224 - nyxtom:feat-enums, r=fmoko
...
feat: Add enums exercises
Creates an exhaustive list of enum exercises. This goes through the basics of different ways to derive enums with mixed data type variants, as well as the use of the all important `match` operator.
5 years ago
marisa
79a569422c
fix: Rewrite test1 logic
5 years ago
Thomas Holloway
dc15032112
feat: Add enums exercises
5 years ago