Hacker News new | ask | show | jobs
by BigTTYGothGF 9 days ago
> You can’t write a generic function that sums numbers without putting traits on it in rust

Why would you want to?

1 comments

I end up needing things like this:

https://github.com/ozgrakkurt/zxbs/blob/2b0f04ad525266ae2ad0...

I had more annoying cases with integers before.