Hacker News new | ask | show | jobs
by tialaramex 1536 days ago
Or, express directly what you intended and let the compiler and library do it:

e.g. https://doc.rust-lang.org/core/mem/fn.swap.html