mirror of
https://github.com/ArthurDanjou/rustlings.git
synced 2026-01-20 15:01:36 +01:00
Use `Box<dyn error::Error>` to allow solutions to use `?` to propagate errors. In the tests, explicitly check `is_ok()` instead of trying to force the error type to `String` (or other `PartialEq` type) using `assert_eq!()`.
4.4 KiB
4.4 KiB