summaryrefslogtreecommitdiff
path: root/exercises/error_handling
AgeCommit message (Collapse)Author
2023-03-29docs(error_handling): resolve markdown linter warningsAli Afsharzadeh
2023-03-26Merge pull request #1437 from navicore/errors2-comment-errorliv
correct comments in errors2.rs
2023-03-24correct comments in errors2.rsEd Sweeney
2023-02-18fix: unify undisclosed type notation in errors5.rsGleb Shevchenko
2022-11-06style: format errors6 with rustfmtmfurak
2022-11-06style: format errors5 with rustfmtmfurak
2022-08-03feat(errors5): add simpler explanation for box dynmokou
2022-07-14feat(errors): Improve comments and hintsmokou
2022-07-14fix(errors5): improve exercise instructionsNoah Cairns
2022-07-14chore(errors1): use `is_empty()` instead of `len() > 0`Steven nguyen
more idiomatic according to clippy
2022-07-11chore: remove mod.rs files and exercises featuremokou
2022-04-14Merge pull request #961 from J-S-Kim/maindiannasoreil
fix(errors6.rs): remove one answer code
2022-04-14chore: update errors1 comments and hintmokou
2022-04-14Fix test (#958)stevenfukase
fix(errors1): don't modify tests
2022-04-09fix(errors6.rs): remove one answer codeJ-S-Kim
Although marked as 'TODO', three tests pass without any implementation because the correct answer code already exists.
2022-03-29fix: Include exercises folder in the project structure behind a feature (#917)x-hgg-x
closes #859 closes #913 closes #942
2022-02-04fix(errors1): Add a comment to make the purpose more clear (#486)zydxhs
Signed-off-by: zydxhs <johnsmithcry@163.com>
2021-06-09address review feedbackTaylor Yu
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.
2021-06-06feature: improve error_handling exercisesTaylor Yu
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.
2021-06-06fix: rename result1 to errors4Taylor Yu
Also put it in the ERROR HANDLING section where it probably belongs.
2021-04-23docs(exercises): updated all exercises readme filesZerotask
all exercises readme files now have a unified structure and a description
2021-04-22docs(errors): add additional help for Result/BoxingZerotask
add additional help information provided by the rust by example book
2020-08-27chore: Removed extra whitespacesKoalab99
Co-authored-by: Corentin ARNOULD <corentin.arn@gmail.com>
2020-05-06fix(errorsn): Try harder to confine the user. (#388)Evan Carroll
2020-05-02chore: Remove deprecated description from error_handling/errorsn.rsChristofer Bertonha
2020-04-15chore: delete orphaned `error_handling/option1.rs`Ufuk Celebi
`error_handling/option1.rs` has been replaced by `option/option1.rs` and is not referenced in `info.toml` any more.
2019-11-11Address feedbackmarisa
2019-11-11Merge branch 'master' into refactor-hintsmarisa
2019-11-11feat: Refactor hint systemmarisa
Hints are now accessible using the CLI subcommand `rustlings hint <exercise name`. BREAKING CHANGE: This fundamentally changes the way people interact with exercises.
2019-11-11feat: improve `watch` execution modeRoberto Vidal
The `watch` command now requires user action to move to the next exercise. BREAKING CHANGE: this changes the behavior of `watch`.
2019-11-11fix(errors3): Update hintmarisa
Closes #185.
2019-10-25fix(option1): Fix arguments passed to assert! macroNiklas Anderson
2019-08-21fix(errorsn.rs) Update the deprecated syntax by adding dyn to trait ↵Damian S
objectscloses #211
2019-07-26fix(option1): Add test for prematurely passing exerciseNiklas Anderson
Fixes the bug referenced in #160, but does not address the larger feature work referenced by the issue.
2019-06-11chore: Fix a couple broken book linksRussell Cousineau
2019-05-23Auto merge of #162 - c-rustacean:rustfmt-and-ws-fixes, r=komaedabors
errorsn.rs: Separate also the hints from each other to avoid accidental viewing
2019-05-23errorsn.rs: Separate also the hints from each other to avoid accidental viewingEddy Petrisor
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-05-22Auto merge of #161 - c-rustacean:rustfmt-and-ws-fixes, r=komaedabors
Rustfmt and ws fixes
2019-05-22rustfmt the exercisesEddy Petrisor
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-05-22errorsn.rs: Separate hints from code, so hints are not accidentally seenEddy Petrisor
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-05-12Update errors1.rsJulien Bisconti
Add Result type signature as it is difficult for new comers to understand Generics and Error all at once
2019-04-08Fix links by deleting book versionDiod FR
2019-03-23Fix permissions on source fileszacanger
2019-03-16errors2.rs: update link to Rust book.Kyle Isom
2018-11-27Changed Rust Book versions in links to 2018delet0r
Forgot to add changes to last commit.
2018-11-26Created sub READMEs for CLI only versiondelet0r
Sub READMEs contain the relevant resources from the main README of the web version. All second edition Rust Book links were updated to the 2018 edition. Fixed to typos in main README.md.
2018-11-09right let's try this one againolivia