Want to feel like Indiana Jones and avoid .clone()s?

There is a very handy mem::replace(_) function you might want to give a whirl. :smile:

2 Likes