about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Lodato <mlodato517@gmail.com>2021-04-14 16:05:56 -0400
committerGitHub <noreply@github.com>2021-04-14 16:05:56 -0400
commit46d2a96facee034beed1183d65ce644cca1abc6a (patch)
tree4885a21e7101ed3252b643d6dff645b4810d7bf5
parent07ef25984549bc33adbdc402e977655d8c9093a7 (diff)
downloadrust-46d2a96facee034beed1183d65ce644cca1abc6a.tar.gz
rust-46d2a96facee034beed1183d65ce644cca1abc6a.zip
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
 ///