From 8e328be73d44c1d027de1abc1aab6819fda78c54 Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 25 Jun 2021 00:22:17 +0200 Subject: [PATCH] Fix grammar mistake present perfect passive constructions need to use the past participle form, which for run is "run". --- library/core/src/mem/maybe_uninit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs index e797227c85b73..75e07fc531253 100644 --- a/library/core/src/mem/maybe_uninit.rs +++ b/library/core/src/mem/maybe_uninit.rs @@ -410,7 +410,7 @@ impl MaybeUninit { /// (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