about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_bitflags/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_bitflags/lib.rs b/src/librustc_bitflags/lib.rs
index afc2e04d446..7e96adfc4bd 100644
--- a/src/librustc_bitflags/lib.rs
+++ b/src/librustc_bitflags/lib.rs
@@ -201,7 +201,7 @@ macro_rules! bitflags {
                 !(*self & other).is_empty()
             }
 
-            /// Returns `true` all of the flags in `other` are contained within `self`.
+            /// Returns `true` if all of the flags in `other` are contained within `self`.
             #[inline]
             pub fn contains(&self, other: $BitFlags) -> bool {
                 (*self & other) == other