mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
Fix small typo in Drop documentation
This commit is contained in:
@@ -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.
|
||||
///
|
||||
/// 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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user