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:
parent
aef4c3ca72
commit
e6d6ee28fe
@ -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>
|
Loading…
Reference in New Issue
Block a user