Skip to content

Commit 70dc6d7

Browse files
authored
Fixed a typo in ManuallyDrop's doc
1 parent 513fc8f commit 70dc6d7

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)