mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
Merge pull request #438 from maorit/fix_typo_traits2
fix typo: 'mentiond' -> 'mentioned'
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user