diff --git a/en/src/generics-traits/traits.md b/en/src/generics-traits/traits.md index 1e5a28d..f75f51e 100644 --- a/en/src/generics-traits/traits.md +++ b/en/src/generics-traits/traits.md @@ -172,7 +172,7 @@ In Rust, many of the operators can be overloaded via traits. That is, some opera use std::ops; // Implement fn multiply to make the code work. -// As mentiond above, `+` needs `T` to implement `std::ops::Add` Trait. +// 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 diff --git a/solutions/generics-traits/traits.md b/solutions/generics-traits/traits.md index e1bebad..110eba5 100644 --- a/solutions/generics-traits/traits.md +++ b/solutions/generics-traits/traits.md @@ -91,7 +91,7 @@ fn main() { use std::ops; // implement fn multiply to make the code work -// As mentiond above, `+` needs `T` to implement `std::ops::Add` Trait +// 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 multiply>(x: T, y: T) -> T { x * y