diff --git a/src/ch15-03-drop.md b/src/ch15-03-drop.md index 800de36bfc..5f717b3982 100644 --- a/src/ch15-03-drop.md +++ b/src/ch15-03-drop.md @@ -146,7 +146,7 @@ an argument. The function is in the prelude, so we can modify `main` in Listing # # impl Drop for CustomSmartPointer { # fn drop(&mut self) { -# println!("Dropping CustomSmartPointer!"); +# println!("Dropping CustomSmartPointer with data `{}`!", self.data); # } # } #