Skip to content

Commit 468d93f

Browse files
authored
Rollup merge of rust-lang#141873 - neeko-cat:patch-1, r=tgross35
Fixed a typo in `ManuallyDrop`'s doc I noticed a typo in `ManuallyDrop`'s documentation (someone wrote "iff" instead of "if"). I fixed it in this PR.
2 parents e286c0f + 70dc6d7 commit 468d93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/mem/manually_drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ use crate::ptr;
8484
/// use std::mem::ManuallyDrop;
8585
///
8686
/// pub struct BadOption<T> {
87-
/// // Invariant: Has been dropped iff `is_some` is false.
87+
/// // Invariant: Has been dropped if `is_some` is false.
8888
/// value: ManuallyDrop<T>,
8989
/// is_some: bool,
9090
/// }

0 commit comments

Comments
 (0)