4.6.0

rust-lang/rustlings4.6.0Sep 25, 2021by manyinsects

AI Summary

Adds new exercises for advanced errors and modules, reworks existing error handling exercises, and improves the watch mode UX with new commands.

Key Highlights

  • Adds new exercises `advanced_errs1`, `advanced_errs2`, and `modules3`
  • Reworks `try_from_into` and `from_str` exercises
  • Adds `quit` and `help` commands to watch mode
  • Adds farewell message when exiting watch mode

New Features

  • New exercises: `advanced_errs1`, `advanced_errs2`, `modules3`
  • Reworked error handling exercises with custom error types
  • Watch mode improvements (quit, help, farewell message)

Full Release Notes

See the [changelog](https://github.com/rust-lang/rustlings/blob/main/CHANGELOG.md#4.6.0) for what's changed. Some highlights:

- New exercises:
  - `advanced_errs1` and `advanced_errs2`
  - `modules3`
- `try_from_into` and `from_str` have been reworked to include custom error types.
- Watch mode now has a `quit` and `help` command.
- Watch mode now also shows you a nice farewell message when you exit it.

To upgrade, run:

```sh
git fetch
git checkout tags/4.6.0
```