diff --git a/en/src/generics-traits/traits.md b/en/src/generics-traits/traits.md index e12f85e..40f669c 100644 --- a/en/src/generics-traits/traits.md +++ b/en/src/generics-traits/traits.md @@ -174,7 +174,7 @@ use std::ops; // Implement fn multiply to make the code work. // As mentioned above, `+` needs `T` to implement `std::ops::Add` Trait. // So, what about `*`? You can find the answer here: https://doc.rust-lang.org/core/ops/ -fn multipl +fn multiply fn main() { assert_eq!(6, multiply(2u8, 3u8)); @@ -469,4 +469,4 @@ fn main() { } ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/traits.md)(under the solutions path), but only use it when you need it :) \ No newline at end of file +> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/traits.md)(under the solutions path), but only use it when you need it :)