1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-03 22:27:30 +02:00

fix: confusing comment in conversions/try_from_into.rs

Co-authored-by: Lebedev <sergey.lebedev@corp.mail.ru>
This commit is contained in:
lebedevsergey 2020-04-17 16:43:01 +03:00 committed by GitHub
parent a3a554aeed
commit c9e4f2cfb4
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

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