Commit Graph

1016 Commits (72b2c9f54f5f4d246616af767a1a842223702a13)
 

Author SHA1 Message Date
allcontributors[bot] d91044f3a2
docs: update README.md [skip ci] 3 years ago
marisa a3ea37b76e
Merge pull request #771 from tlyu/iterators5-trait-tweak
fix(iterators5): derive Clone, Copy
3 years ago
marisa ec63cadadb
Merge pull request #772 from tlyu/errors-rework
feature: improve error_handling exercises
3 years ago
marisa 84d8305730
Merge pull request #778 from rust-lang/all-contributors/add-kayuapi
docs: add kayuapi as a contributor for content
3 years ago
allcontributors[bot] 73777980f1
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 75788b1148
docs: update README.md [skip ci] 3 years ago
marisa dd9b2ddc89
Merge pull request #773 from kayuapi/patch-1
fix(variables5): confine the answer further
3 years ago
Taylor Yu b7ddd09fab address review feedback
Adjust error text and naming to conform with best practices.
Use `map_err()` instead of `or()`. Wrap lower-level errors instead of
ignoring their details.

Also, don't "cheat" by bypassing the `new()` function in tests.

Fix a dangling reference in the try_from_into hints.
3 years ago
ZC 48ffcbd2c4
fix(variables5): confine the answer further
let mut number = 3; can lead to a correct answer, so the comment helps to direct the users to the intended answer.
3 years ago
Taylor Yu 68d3ac567c feature: improve error_handling exercises
Add new exercises errors5 and errors6, to introduce boxed errors and
custom error enums more gently. Delete errorsn, because it tried to do
too much too soon.
3 years ago
Taylor Yu 50ab289da6 fix: rename result1 to errors4
Also put it in the ERROR HANDLING section where it probably belongs.
3 years ago
Taylor Yu 4e079fdd08 chore(iterators5): conciseness hint 3 years ago
Taylor Yu 91fc9e3118 fix(iterators5): derive Clone, Copy
To allow more flexibility in solutions, derive `Clone` and `Copy`
for `Progress`.
3 years ago
marisa a2f0401c4c
Merge pull request #762 from tlyu/move-semantics5-fixes
fix: move_semantics5 hints
3 years ago
Taylor Yu 1b85828548 fix: move_semantics5 hints
Improve the hints for move_semantics5, as well as the explanatory
comments in the code.

Previously, it was not clear what possible changes were allowed.
It seems that reordering the statements might be the intended solution.
The previous comment about not "adding newlines" doesn't make sense,
so treating it as "adding new lines" makes it more clear.
3 years ago
Taylor Yu 4c46e5e1a3 chore: minor typos in move_semantics5 hints 3 years ago
marisa 4da9e7ee29
Merge pull request #758 from rust-lang/all-contributors/add-sateeshkumarb
docs: add sateeshkumarb as a contributor
3 years ago
allcontributors[bot] 72e615aa7a
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] cd02abc481
docs: update README.md [skip ci] 3 years ago
Sateesh 399ab328d8
feat: Add move_semantics5 exercise. (#746)
* feat: Add move_semantics5 exercise.

* feat: Add option3 exercise

* Address review comments. Fix typos, sentence formatting.

* Remove unwanted newline.

* Address review comments: make comment inline, fix format in print.
3 years ago
marisa 809ec2ce01
Merge pull request #755 from tlyu/dyn-error-hints
fix(try_from_into, from_str): hints for dyn Error
3 years ago
Taylor Yu 11d2cf0d60 fix(try_from_into, from_str): hints for dyn Error
Add hints about how to return the correct type for functions that
return `Result<_, Box<dyn Error>`. Some feedback from Discord suggests
that people run into trouble with that.
3 years ago
marisa dbb2624403
Merge pull request #751 from juanprq/main
fix: remove trailing whitespace
3 years ago
Juan Pablo Ramirez 4d4fa77459 fix: remove trailing whitespaces from iterators1 3 years ago
Juan Pablo Ramirez 3145794084 fix: add hints to generics1 and generics2 exercises 3 years ago
Juan Pablo Ramirez d9b69bd1a0 fix: remove trailing whitespace 3 years ago
marisa 7cd635fa84
Merge pull request #740 from rust-lang/all-contributors/add-PiDelport
docs: add PiDelport as a contributor
3 years ago
allcontributors[bot] ce40e201f0
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 404f3ef465
docs: update README.md [skip ci] 3 years ago
marisa e1be594fdd
Merge pull request #739 from PiDelport/patch-1
style(standard_library_types): stray line break
3 years ago
Pi Delport 9569c9a9e7
style(standard_library_types): stray line break 3 years ago
Martin HART 8794b40bc6 Merge branch 'correct-small-typo' of github.com:martinhartxyz/rustlings into correct-small-typo 3 years ago
Martin HART 86cc85295a fix: Correct small typo in exercises/conversions/from_str.rs 3 years ago
Martin HART 166a53946c Correct small typo in exercises/conversions/from_str.rs 3 years ago
marisa 91530f5716
Merge pull request #736 from maartentibau/quiz1_add_explicit_test_40
chore: Update quiz1.rs add explicit test for 40
3 years ago
Maarten Tibau 650b1dee54
chore: Update quiz1.rs add explicit test for 40 3 years ago
apogeeoak 7f0d2c2bf0 chore(iterators5): Minor formatting improvements. 3 years ago
marisa 6b6dc9dd48
Merge pull request #731 from rust-lang/all-contributors/add-stoiandan
docs: add stoiandan as a contributor
3 years ago
allcontributors[bot] 3a9ec4192d
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 4f7dbbd2c3
docs: update README.md [skip ci] 3 years ago
marisa 8c37db1a23
Merge pull request #730 from stoiandan/main
updated README.md; specify need for admin rights
3 years ago
Dan Stoian c6b7ad8878 updated README.md; specify need for admin rights 3 years ago
mokou 84461c20cb release: 4.4.0 3 years ago
marisa 3cddda56fc
Merge pull request #725 from Zerotask/add-hint-corresponding-readme
chore(watch): add hint for the exercises README.md
3 years ago
marisa 37f3069a67
Merge pull request #724 from Zerotask/update-dependencies
chore(deps): update cargo dependencies
3 years ago
marisa 2b2fbe918e
Merge pull request #723 from Zerotask/update-exercises-readme
docs(exercises): consistent excersises README.md files
3 years ago
Zerotask cf42ddc449
chore(watch): add hint for the exercises README.md
rustlings watch will now show an additional hint for the corresponding README.me
3 years ago
Zerotask eefa656232
chore(deps): update cargo dependencies 3 years ago
Zerotask 249ad44cc0
docs(exercises): updated all exercises readme files
all exercises readme files now have a unified structure and a description
3 years ago
marisa 54804e344d
Merge pull request #721 from Zerotask/add-further-help-for-generics3
docs(generics): add bounds help
3 years ago