Skip to content

Commit c9e4f2c

Browse files
lebedevsergeyLebedev
andauthored
fix: confusing comment in conversions/try_from_into.rs
Co-authored-by: Lebedev <sergey.lebedev@corp.mail.ru>
1 parent a3a554a commit c9e4f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/conversions/try_from_into.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mod tests {
4545
use super::*;
4646
#[test]
4747
fn test_bad_convert() {
48-
// Test that John is returned when bad string is provided
48+
// Test that error is returned when bad string is provided
4949
let p = Person::try_from("");
5050
assert!(p.is_err());
5151
}

0 commit comments

Comments
 (0)