about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-15 04:08:33 +0000
committerbors <bors@rust-lang.org>2021-04-15 04:08:33 +0000
commit043d9160769a330df5d8a21e846785e2c89f357d (patch)
tree3b8d783f236a3b7f0e65ee1dc46f197cc7f7255a
parent9c3b66cff74f3a21dc735294f3df319a38bc2114 (diff)
parent46d2a96facee034beed1183d65ce644cca1abc6a (diff)
downloadrust-043d9160769a330df5d8a21e846785e2c89f357d.tar.gz
rust-043d9160769a330df5d8a21e846785e2c89f357d.zip
Auto merge of #84198 - mlodato517:patch-1, r=jyn514
Fix small typo in Drop documentation
-rw-r--r--library/core/src/ops/drop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/drop.rs b/library/core/src/ops/drop.rs
index ce7d1c3d06d..f4b1ec377d4 100644
--- a/library/core/src/ops/drop.rs
+++ b/library/core/src/ops/drop.rs
@@ -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
 ///