Skip to content

Commit 57adb83

Browse files
authored
Merge pull request #2020 from UnHumbleBen/patch-1
Update ch15-03 code to match output.
2 parents 09d26dd + 311930d commit 57adb83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch15-03-drop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ an argument. The function is in the prelude, so we can modify `main` in Listing
146146
#
147147
# impl Drop for CustomSmartPointer {
148148
# fn drop(&mut self) {
149-
# println!("Dropping CustomSmartPointer!");
149+
# println!("Dropping CustomSmartPointer with data `{}`!", self.data);
150150
# }
151151
# }
152152
#

0 commit comments

Comments
 (0)