diff options
| author | lebedevsergey <sunman_pfc@mail.ru> | 2020-04-17 16:43:01 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 15:43:01 +0200 |
| commit | c9e4f2cfb4c48d0b7451263cfb43b9426438122d (patch) | |
| tree | 69a7b1e98d95db59f0ab7f6f40ddfb3233d82074 /exercises/conversions/try_from_into.rs | |
| parent | a3a554aeedcbe1177e92157d1a39005cd542369e (diff) | |
fix: confusing comment in conversions/try_from_into.rs
Co-authored-by: Lebedev <sergey.lebedev@corp.mail.ru>
Diffstat (limited to 'exercises/conversions/try_from_into.rs')
| -rw-r--r-- | exercises/conversions/try_from_into.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/conversions/try_from_into.rs b/exercises/conversions/try_from_into.rs index 255d2e1..834dd93 100644 --- a/exercises/conversions/try_from_into.rs +++ b/exercises/conversions/try_from_into.rs @@ -45,7 +45,7 @@ mod tests { use super::*; #[test] fn test_bad_convert() { - // Test that John is returned when bad string is provided + // Test that error is returned when bad string is provided let p = Person::try_from(""); assert!(p.is_err()); } |
