mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
commit
15049f6b19
@ -1924,7 +1924,7 @@ types by the compiler, and may not be overridden:
|
|||||||
|
|
||||||
Additionally, the `Drop` trait is used to define destructors. This
|
Additionally, the `Drop` trait is used to define destructors. This
|
||||||
trait defines one method called `finalize`, which is automatically
|
trait defines one method called `finalize`, which is automatically
|
||||||
called when value of the a type that implements this trait is
|
called when a value of the type that implements this trait is
|
||||||
destroyed, either because the value went out of scope or because the
|
destroyed, either because the value went out of scope or because the
|
||||||
garbage collector reclaimed it.
|
garbage collector reclaimed it.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user