fix: confusing comment in conversions/try_from_into.rs

Co-authored-by: Lebedev <sergey.lebedev@corp.mail.ru>
pull/357/head
lebedevsergey 4 years ago committed by GitHub
parent a3a554aeed
commit c9e4f2cfb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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());
}

Loading…
Cancel
Save