Skip to content

Commit

Permalink
Fix grammar mistake
Browse files Browse the repository at this point in the history
present perfect passive constructions need to use the past participle form,
which for run is "run".
  • Loading branch information
est31 committed Jun 24, 2021
1 parent 5585cce commit 8e328be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/mem/maybe_uninit.rs
Expand Up @@ -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
Expand Down

0 comments on commit 8e328be

Please sign in to comment.