From 311930de8a5f7748c18137603d4f88592d3a5b77 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Mon, 8 Jul 2019 17:49:46 -0700 Subject: [PATCH] Update ch15-03 code to match output. --- src/ch15-03-drop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); # } # } #