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 919cbc0 + 5be8df9 commit ab7425dCopy full SHA for ab7425d
src/librustc_bitflags/lib.rs
@@ -201,7 +201,7 @@ macro_rules! bitflags {
201
!(*self & other).is_empty()
202
}
203
204
- /// Returns `true` all of the flags in `other` are contained within `self`.
+ /// Returns `true` if all of the flags in `other` are contained within `self`.
205
#[inline]
206
pub fn contains(&self, other: $BitFlags) -> bool {
207
(*self & other) == other
0 commit comments