Slug: own-copy-01 · Paired reading: Chapter 5
Prompt
Define struct Point { x: i32, y: i32 } with Copy + Clone.
Implement fn translate(p: Point, dx: i32, dy: i32) -> Point.
Because Point: Copy, the caller may still use p after the call — demonstrate
that in a test.
Predict first
Could Point also implement Drop? What error code?