1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-16 14:53:28 +02:00

Update move-semantics.md (#438)

This commit is contained in:
Adam MacBeth 2023-02-19 00:27:41 -08:00 committed by GitHub
parent aef4c3ca72
commit e6d6ee28fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,6 @@ fn main() {
* Mention that this is the opposite of the defaults in C++, which copies by value unless you use `std::move` (and the move constructor is defined!).
* In Rust, you clones are explicit (by using `clone`).
* In Rust, clones are explicit (by using `clone`).
</details>
</details>