Skip to content

Commit

Permalink
Merge pull request #2020 from UnHumbleBen/patch-1
Browse files Browse the repository at this point in the history
Update ch15-03 code to match output.
  • Loading branch information
steveklabnik authored Oct 25, 2019
2 parents 09d26dd + 311930d commit 57adb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch15-03-drop.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
# }
# }
#
Expand Down

0 comments on commit 57adb83

Please sign in to comment.