We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef8dac commit 9b66b2aCopy full SHA for 9b66b2a
exercises/conversions/try_from_into.rs
@@ -56,7 +56,7 @@ impl TryFrom<&[i16]> for Color {
56
}
57
58
fn main() {
59
- // Use the `from` function
+ // Use the `try_from` function
60
let c1 = Color::try_from((183, 65, 14));
61
println!("{:?}", c1);
62
0 commit comments