Fix language in documentation comment.
This commit is contained in:
parent
e804a3cf25
commit
5be8df95c7
@ -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…
Reference in New Issue
Block a user