Skip to content

Commit 1e7000e

Browse files
authored
Merge pull request #2350 from rust-lang/steveklabnik-patch-2
Improve wording around drop
2 parents e4018f2 + 73616ce commit 1e7000e

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
@@ -6,7 +6,7 @@ provide an implementation for the `Drop` trait on any type, and the code you
66
specify can be used to release resources like files or network connections.
77
We’re introducing `Drop` in the context of smart pointers because the
88
functionality of the `Drop` trait is almost always used when implementing a
9-
smart pointer. For example, `Box<T>` customizes `Drop` to deallocate the space
9+
smart pointer. For example, when a `Box<T>` is dropped it will deallocate the space
1010
on the heap that the box points to.
1111

1212
In some languages, the programmer must call code to free memory or resources

0 commit comments

Comments
 (0)