We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
core::mem::ManuallyDrop
1 parent 912981a commit 59ec8baCopy full SHA for 59ec8ba
library/core/src/mem/manually_drop.rs
@@ -84,7 +84,7 @@ use crate::ptr;
84
/// use std::mem::ManuallyDrop;
85
///
86
/// pub struct BadOption<T> {
87
-/// // Invariant: Has been dropped iff `is_some` is false.
+/// // Invariant: Has been dropped if `is_some` is false.
88
/// value: ManuallyDrop<T>,
89
/// is_some: bool,
90
/// }
0 commit comments