Skip to content

Commit 8e328be

Browse files
committed
Fix grammar mistake
present perfect passive constructions need to use the past participle form, which for run is "run".
1 parent 5585cce commit 8e328be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/mem/maybe_uninit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ impl<T> MaybeUninit<T> {
410410
/// (now safely initialized) contents of `self`.
411411
///
412412
/// As the content is stored inside a `MaybeUninit`, the destructor is not
413-
/// ran for the inner data if the MaybeUninit leaves scope without a call to
413+
/// run for the inner data if the MaybeUninit leaves scope without a call to
414414
/// [`assume_init`], [`assume_init_drop`], or similar. Code that receives
415415
/// the mutable reference returned by this function needs to keep this in
416416
/// mind. The safety model of Rust regards leaks as safe, but they are

0 commit comments

Comments
 (0)