• Turun@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Implementing add (and other math operations) in rust for your types has the type signature self and rhs (right hand side).