# Hands-on Rust: why a second clone?

**URL:** <https://forum.devtalk.com/t/hands-on-rust-why-a-second-clone/5026>\
**Category:** PragProg Customers\
**Tags:** question, book-hands-on-rust\
**Created:** [13 December 2020 14:59 UTC](https://forum.devtalk.com/t/hands-on-rust-why-a-second-clone/5026 "2020-12-13T14:59:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![herbert](https://forum.devtalk.com/user_avatar/forum.devtalk.com/herbert/32/1233_2.png) [@herbert](https://forum.devtalk.com/u/herbert)\
**Post date:** [13 December 2020 15:08 UTC](https://forum.devtalk.com/t/hands-on-rust-why-a-second-clone/5026/2 "2020-12-13T15:08:00Z")

</div>

That’s actually a very good question. It appears to work fine without it (it replaces the copy with a move; both compile down to `memcpy` so it winds up not making a lot of difference in terms of performance). My notes indicate that I had problems with an earlier Rust compiler there, so I’m going to test the heck out of it before committing the change. Thanks!

---

_[View the full topic](https://forum.devtalk.com/t/hands-on-rust-why-a-second-clone/5026)._
