Commit Graph

577 Commits (173bb14140c5530cbdb59e53ace3991a99d804af)
 

Author SHA1 Message Date
mokou b049fa2c84 feat(ci): add buildkite config 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
fmoko 71d31256a6
Merge pull request #278 from jrvidal/output-mode
feature: adds "output" mode, resolves #270
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.
4 years ago
fmoko 7ce42941ea
Merge pull request #282 from sanjaykdragon/master
feat: added option exercise
4 years ago
Sanjay K 3f8171475c updated info.toml 4 years ago
fmoko b135b589e0
Merge pull request #280 from sjmann/generics-exercises
feat: added generics exercises
4 years ago
Sanjay K 05ca3d77f7 Merge branch 'master' of https://github.com/sanjaykdragon/rustlings 4 years ago
Sanjay K 6deee7e3e9 fixed spacing 4 years ago
fmoko 9dc404077a
Merge pull request #288 from vjousse/fix-traits-doc
chore(TRAITS1): don't hardcode documentation version
4 years ago
Vincent Jousse 30e6af6069 Don't hardcode documentation version for traits 4 years ago
Sanjay K 9788496a85
Update option1.rs 5 years ago
Sanjay K 6d3a412d47
Update option1.rs 5 years ago
bors 700b236f4d Auto merge of #284 - sl4m:update-from-into-ex, r=fmoko
Adds additional test to meet exercise rules

This PR adds an additional test to meet this exercise [rule](https://github.com/rust-lang/rustlings/blob/master/exercises/conversions/from_into.rs#L33).
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 5b6e23c323 removed artifact from manual testing 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
mokou 8b9479071c 2.2.1 5 years ago
mokou 3d9b03c52b fix: Re-add cloning the repo to install scripts 5 years ago
bors a03d9655a8 Auto merge of #269 - Tarnadas:master, r=fmoko
feat: Add clippy lints

This is a feature PR which adds the possiblity to create clippy exercises.

Clippy has many awesome linting rules, which can give a deeper understanding about the Rust programming language, therefor I made this PR.
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 7e8530b21f Auto merge of #271 - jrvidal:refactor, r=fmoko
refactor: exercise evaluation

After working a bit on #270, I realized that it'd be useful to first perform a minor refactor of exercise evaluation.

* Now we have standard methods to compile + execute that return `Result`s.
* Success/failure messages are standardized.
5 years ago
bors 98358597a9 Auto merge of #277 - sjmann:update-ignore, r=fmoko
chore: update gitignore to ignore pdb files

Pr for issue #275
5 years ago
sjmann 8064facbb8 chore: update gitignore to ignore pdb files 5 years ago
sjmann f981dcfde4 Merge branch 'master' of https://github.com/sjmann/rustlings 5 years ago
mokou 6eb62fa2ce 2.2.0 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
fmoko 358fb473cd
Merge pull request #276 from stigjb-forks/testing-test4
Enable test for exercise test4
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 bbf8922ef7 Merge remote-tracking branch 'upstream/master' 5 years ago
sjmann b559cdd73f added traits exercises 5 years ago
fmoko ec51cdb229
Merge pull request #273 from sjmann/master
docs(iterators): Updated iterators readme to account for iterators4 exercise
5 years ago
sjmann a3f70124dc fixed typo 5 years ago
sjmann bec8e3a644 reworded missing exercise explanation 5 years ago
bors c228a06e49 Auto merge of #272 - QuintenJohnson:fix/installation-warning-messages, r=fmoko
fix(installation): make fatal errors more obvious

I initially ran the installation script without rust installed. The fact that the error message was labeled with WARNING made me unsure whether installation was successful or I needed to re-run after installing rust. There's an error code returned on fatal errors, but this change will make things clearer.
5 years ago
Quinten Johnson 17d0951e66 fix(installation): make fatal errors more obvious 5 years ago
Roberto Vidal 43dc31193a refactor: exercise evaluation
Exercise evaluation (compilation + execution) now uses Results
Success/failure messages are standardized
5 years ago
fmoko 83bbd9e82e
chore: Correct test command in tests1.rs comment (#267)
chore: Correct test command in tests1.rs comment
5 years ago
Jason Tsai 39fa7ae8b7 chore: Correct test command in tests1.rs comment 5 years ago
fmoko 3161a8fd9d
Fixed mangled sentence from book; edited for clarity (#266)
Fixed mangled sentence from book; edited for clarity
5 years ago
Paul Bissex ade52ffb73
Fixed mangled sentence from book; edited for clarity 5 years ago