mirror of
https://github.com/rust-lang/book.git
synced 2026-12-04 11:14:57 -06:00
grammar: add missing 'of'
This commit is contained in:
committed by
Carol (Nichols || Goulding)
parent
a2cb72d3ad
commit
4ea9b2e0da
+1
-1
@@ -10,7 +10,7 @@ For example, when a `Box<T>` is dropped it will deallocate the space on the
|
||||
heap that the box points to.
|
||||
|
||||
In some languages, for some types, the programmer must call code to free memory
|
||||
or resources every time they finish using an instance those types. Examples
|
||||
or resources every time they finish using an instance of those types. Examples
|
||||
include file handles, sockets, or locks. If they forget, the system might
|
||||
become overloaded and crash. In Rust, you can specify that a particular bit of
|
||||
code be run whenever a value goes out of scope, and the compiler will insert
|
||||
|
||||
Reference in New Issue
Block a user