You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-24 01:36:44 +02:00
Remove bullet point about printing p1
This commit is contained in:
@ -40,7 +40,6 @@ Copying and cloning are not the same thing:
|
|||||||
|
|
||||||
In the above example, try the following:
|
In the above example, try the following:
|
||||||
|
|
||||||
* Try printing `p1` again after the move. What do you expect to happen?
|
|
||||||
* What happens when you add a `String` field to `struct Point`?
|
* What happens when you add a `String` field to `struct Point`?
|
||||||
* Does it work when you remove `Copy` from the `derive` attribute?
|
* Does it work when you remove `Copy` from the `derive` attribute?
|
||||||
* After removing `Copy`, can you still print `p1` after the move?
|
* After removing `Copy`, can you still print `p1` after the move?
|
||||||
|
Reference in New Issue
Block a user