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
2 people authored and MendelMonteiro committed Jun 28, 2020
1 parent 4566be6 commit 7b6a6c3
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 7b6a6c3

Please sign in to comment.