提交 acad4cc9 编写于 作者: B bors

Auto merge of #49571 - anderspitman:patch-1, r=frewsxcv

Update drop.rs
......@@ -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.
先完成此消息的编辑!
想要评论请 注册