diff options
| author | Mark Lodato <mlodato517@gmail.com> | 2021-04-14 16:05:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 16:05:56 -0400 |
| commit | 46d2a96facee034beed1183d65ce644cca1abc6a (patch) | |
| tree | 4885a21e7101ed3252b643d6dff645b4810d7bf5 | |
| parent | 07ef25984549bc33adbdc402e977655d8c9093a7 (diff) | |
| download | rust-46d2a96facee034beed1183d65ce644cca1abc6a.tar.gz rust-46d2a96facee034beed1183d65ce644cca1abc6a.zip | |
Fix small typo in Drop documentation
| -rw-r--r-- | library/core/src/ops/drop.rs | 2 |
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 /// |
