Skip to content

Commit

Permalink
Merge pull request #2059 from akhi3030/master
Browse files Browse the repository at this point in the history
Minor: remove an extraneous `.`
  • Loading branch information
steveklabnik authored Oct 22, 2019
2 parents 22397a0 + dae2be6 commit df86c4a
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 @@ -58,7 +58,7 @@ an instance of your type goes out of scope. We’re printing some text here to
demonstrate when Rust will call `drop`.

In `main`, we create two instances of `CustomSmartPointer` and then print
`CustomSmartPointers created.`. At the end of `main`, our instances of
`CustomSmartPointers created`. At the end of `main`, our instances of
`CustomSmartPointer` will go out of scope, and Rust will call the code we put
in the `drop` method, printing our final message. Note that we didn’t need to
call the `drop` method explicitly.
Expand Down

0 comments on commit df86c4a

Please sign in to comment.