1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-12 20:21:56 +02:00

Rephrase bullet point in copy/clone slide

This commit is contained in:
Fabian Bornhofen 2023-01-10 14:01:08 +01:00
parent 87b26c78c0
commit 4fd8a2ca62

@ -43,6 +43,6 @@ In the above example, try the following:
* Add a `String` field to `struct Point`. It will not compile because `String` is not a `Copy` type.
* Remove `Copy` from the `derive` attribute. The compiler error is now in the `println!` for `p1`.
* Show that it works if you then clone `p1`.
* Show that it works if you clone `p1` instead.
</details>