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
+1 -1
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.