Skip to content

Commit e9b293e

Browse files
authored
Unrolled build for #141873
Rollup merge of #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 b17dba4 + c5e758d commit e9b293e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/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)