diff options
| -rw-r--r-- | src/libstd/bitflags.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/bitflags.rs b/src/libstd/bitflags.rs index 3d1bc20cca4..8af88b4fe72 100644 --- a/src/libstd/bitflags.rs +++ b/src/libstd/bitflags.rs @@ -170,6 +170,7 @@ macro_rules! bitflags { } /// Returns `true` all of the flags in `other` are contained within `self`. + #[inline] pub fn contains(&self, other: $BitFlags) -> bool { (self & other) == other } |
