Skip to content

Commit 9b66b2a

Browse files
chapeupretomanyinsects
authored andcommitted
fix(try_from_into): fix function name
1 parent 1ef8dac commit 9b66b2a

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
@@ -56,7 +56,7 @@ impl TryFrom<&[i16]> for Color {
5656
}
5757

5858
fn main() {
59-
// Use the `from` function
59+
// Use the `try_from` function
6060
let c1 = Color::try_from((183, 65, 14));
6161
println!("{:?}", c1);
6262

0 commit comments

Comments
 (0)