replace_with 0.1.7

Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.
Documentation