mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 16:03:31 +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:
co-authored by
GitHub
Lebedev
parent
a3a554aeed
commit
c9e4f2cfb4
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user