about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-09-16 09:29:49 -0700
committerGitHub <noreply@github.com>2016-09-16 09:29:49 -0700
commitab7425dcd48813dfd74f4655c357328467ee1278 (patch)
tree273e877d62626705493a19134788e2ab31b789f5 /src
parent919cbc01684d7310d053f5cba38baacc84c07492 (diff)
parent5be8df95c74514ade77c81a7afff1f4df3208bbd (diff)
downloadrust-ab7425dcd48813dfd74f4655c357328467ee1278.tar.gz
rust-ab7425dcd48813dfd74f4655c357328467ee1278.zip
Rollup merge of #36521 - Mark-Simulacrum:documentation-fix, r=apasel422
Fix language in documentation comment.
Diffstat (limited to 'src')
-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