4 ms·
> swap the numerator and divisor Even Rust can express this; you don't need to get fancy. Morally speaking, division takes a Num and a std::num::NonZero<Num>.
by Smaug123 1y ago
> swap the numerator and divisor
Even Rust can express this; you don't need to get fancy. Morally speaking, division takes a Num and a std::num::NonZero<Num>.
- 0xDEAFBEAD 1y agoOK, I guess you got me for the particular case of division. Have your upvote.