Skip to content

Commit ab7425d

Browse files
author
Jonathan Turner
authored
Rollup merge of #36521 - Mark-Simulacrum:documentation-fix, r=apasel422
Fix language in documentation comment.
2 parents 919cbc0 + 5be8df9 commit ab7425d

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)