News for hackers. Stuff that matters.
Re:Let the Compiler Do the Work by GlitchMr on Tuesday January 07, 2020 @08:20AM (#21979635)
You don't need macros for generic code either :), Rust has generics.

    fn sqr<T: Copy + Mul>(x: T) -> T::Output {
        x * x
    }

There are no comments on this comment yet.