Fix language in documentation comment.

This commit is contained in:
Mark-Simulacrum
2016-08-11 15:42:41 -06:00
parent e804a3cf25
commit 5be8df95c7
+1 -1
View File
@@ -201,7 +201,7 @@ pub fn intersects(&self, other: $BitFlags) -> bool {
!(*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