Skip to content

Commit

Permalink
fix: confusing comment in conversions/try_from_into.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Lebedev <sergey.lebedev@corp.mail.ru>
  • Loading branch information
lebedevsergey and Lebedev authored Apr 17, 2020
1 parent a3a554a commit c9e4f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/conversions/try_from_into.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit c9e4f2c

Please sign in to comment.