Rollup merge of #36521 - Mark-Simulacrum:documentation-fix, r=apasel422
Fix language in documentation comment.
This commit is contained in:
commit
ab7425dcd4
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ macro_rules! bitflags {
|
|||
!(*self & other).is_empty()
|
||||
}
|
||||
|
||||
/// 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`.
|
||||
#[inline]
|
||||
pub fn contains(&self, other: $BitFlags) -> bool {
|
||||
(*self & other) == other
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue