Commit Graph

12 Commits (de6c45ad244528562889138757f3c8c7f089bbec)

Author SHA1 Message Date
Taylor Yu 2e93a588e0 fix: use trait objects for try_from_into
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!()`.
3 years ago
Christos Kontas 04f1d079aa feat(try_from_into): remove duplicate annotation 4 years ago
Wei Hu 4f4cfcf3c3 fix(try_from_into): type error 4 years ago
JP 96347df9df
fix(try_from_into): Update description (#584)
Description update
4 years ago
fiplox 95ccd92616
feat(try_from_into): Add tests (#571)
Co-authored-by: Volodymyr Patuta <6977238-fiplox@users.noreply.gitlab.com>
4 years ago
Étienne Barrié 3144d3ae63 chore: Run rustfmt on exercises 4 years ago
Chad Dougherty 523d18b873
feat(try_from_into): Add insufficient length test (#469) 4 years ago
IkaR49 763aa6e378
feat: Rewrite try_from_into (#393) 4 years ago
apatniv 41f989135d Review Comments: Add other test cases 4 years ago
lebedevsergey c9e4f2cfb4
fix: confusing comment in conversions/try_from_into.rs
Co-authored-by: Lebedev <sergey.lebedev@corp.mail.ru>
4 years ago
Abdou Seck fc26b5e151 I AM NOT DONE comment in conversions exercise files 5 years ago
Abdou Seck 0c85dc1193 feat: Add type conversion and parsing exercises 5 years ago