Skip to content

Commit c5e758d

Browse files
authored
Fixed a typo in ManuallyDrop's doc
1 parent 99e7c15 commit c5e758d

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)