Skip to content

Commit 5be8df9

Browse files
Fix language in documentation comment.
1 parent e804a3c commit 5be8df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_bitflags/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ macro_rules! bitflags {
201201
!(*self & other).is_empty()
202202
}
203203

204-
/// Returns `true` all of the flags in `other` are contained within `self`.
204+
/// Returns `true` if all of the flags in `other` are contained within `self`.
205205
#[inline]
206206
pub fn contains(&self, other: $BitFlags) -> bool {
207207
(*self & other) == other

0 commit comments

Comments
 (0)