未验证 提交 da9e18b3 编写于 作者: A Anders Pitman 提交者: GitHub

Update drop.rs

上级 06fa27d7
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册