O'Reilly logo
  • Ivan Zderadicka thinks this is interesting:

mut

From

Cover of Mastering Rust

Note

mut is not necessary. Or if using mut then head.take() is probably more efficient then head.clone()