Fix small typo in Drop documentation
This commit is contained in:
parent
07ef259845
commit
46d2a96fac
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
||||||
///
|
///
|
||||||
/// In other words, if you tried to explicitly call `Drop::drop` in the above example, you'd get a compiler error.
|
/// In other words, if you tried to explicitly call `Drop::drop` in the above example, you'd get a compiler error.
|
||||||
///
|
///
|
||||||
/// If you'd like explicitly call the destructor of a value, [`mem::drop`] can be used instead.
|
/// If you'd like to explicitly call the destructor of a value, [`mem::drop`] can be used instead.
|
||||||
///
|
///
|
||||||
/// [`mem::drop`]: drop
|
/// [`mem::drop`]: drop
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue