Update drop.rs

This commit is contained in:
Anders Pitman 2018-04-01 16:19:42 -07:00 committed by GitHub
parent 06fa27d7c8
commit da9e18b3db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@
pub trait Drop {
/// Executes the destructor for this type.
///
/// This method is called implilcitly when the value goes out of scope,
/// This method is called implicitly when the value goes out of scope,
/// and cannot be called explicitly (this is compiler error [E0040]).
/// However, the [`std::mem::drop`] function in the prelude can be
/// used to call the argument's `Drop` implementation.