about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-17 12:06:22 +0000
committerbors <bors@rust-lang.org>2014-09-17 12:06:22 +0000
commitaac078dca558bc85c1a46385a5fc99e008798757 (patch)
tree30a5797924831d4ded57f036d5cd1f34f357ab1e /src/libstd
parente719db24a09b5fec0d3042fd109bbecba61165f5 (diff)
parent06e85fd1e2c337ba6fa760e0195bd05c855e4b60 (diff)
downloadrust-aac078dca558bc85c1a46385a5fc99e008798757.tar.gz
rust-aac078dca558bc85c1a46385a5fc99e008798757.zip
auto merge of #17254 : gamazeps/rust/issue17210, r=alexcrichton
Closes #17210
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/bitflags.rs1
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
             }