Ad
Code
Diff
  • fn multiply(a: usize, b: usize) -> usize {
        a * b
    }
    • fn multiply<T: std::ops::Mul>(a: T, b: T) -> T::Output {
    • fn multiply(a: usize, b: usize) -> usize {
    • a * b
    • }