about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2021-06-25 00:22:17 +0200
committerest31 <MTest31@outlook.com>2021-06-25 00:54:34 +0200
commit8e328be73d44c1d027de1abc1aab6819fda78c54 (patch)
treef63bc407e4ea46003da61faa002822f570fc5a35
parent5585cce06c19524b5e8f44dcbe8de80af5083cf8 (diff)
downloadrust-8e328be73d44c1d027de1abc1aab6819fda78c54.tar.gz
rust-8e328be73d44c1d027de1abc1aab6819fda78c54.zip
Fix grammar mistake
present perfect passive constructions need to use the past participle form,
which for run is "run".
-rw-r--r--library/core/src/mem/maybe_uninit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs
index e797227c85b..75e07fc5312 100644
--- a/library/core/src/mem/maybe_uninit.rs
+++ b/library/core/src/mem/maybe_uninit.rs
@@ -410,7 +410,7 @@ impl<T> MaybeUninit<T> {
     /// (now safely initialized) contents of `self`.
     ///
     /// As the content is stored inside a `MaybeUninit`, the destructor is not
-    /// ran for the inner data if the MaybeUninit leaves scope without a call to
+    /// run for the inner data if the MaybeUninit leaves scope without a call to
     /// [`assume_init`], [`assume_init_drop`], or similar. Code that receives
     /// the mutable reference returned by this function needs to keep this in
     /// mind. The safety model of Rust regards leaks as safe, but they are