Skip to content

Commit aac078d

Browse files
committed
auto merge of #17254 : gamazeps/rust/issue17210, r=alexcrichton
Closes #17210
2 parents e719db2 + 06e85fd commit aac078d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/bitflags.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ macro_rules! bitflags {
170170
}
171171

172172
/// Returns `true` all of the flags in `other` are contained within `self`.
173+
#[inline]
173174
pub fn contains(&self, other: $BitFlags) -> bool {
174175
(self & other) == other
175176
}

0 commit comments

Comments
 (0)