We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4018f2 + 73616ce commit 1e7000eCopy full SHA for 1e7000e
src/ch15-03-drop.md
@@ -6,7 +6,7 @@ provide an implementation for the `Drop` trait on any type, and the code you
6
specify can be used to release resources like files or network connections.
7
We’re introducing `Drop` in the context of smart pointers because the
8
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
+smart pointer. For example, when a `Box<T>` is dropped it will deallocate the space
10
on the heap that the box points to.
11
12
In some languages, the programmer must call code to free memory or resources
0 commit comments