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 <[email protected]>
  • Loading branch information
yourname and Lebedev committed Apr 17, 2020
1 parent d406ceb commit 281363c
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 281363c

Please sign in to comment.