Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 4d867c9 + c5e758d commit 121fb7aCopy full SHA for 121fb7a
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