Fix call to swap function due to upstream changes

Rust moved this function from std::util (which has been dissolved now) to std::mem.
Merge pull request #3 from aepsil0n/fix/swap

Fix call to swap function due to upstream changes.