diff options
| author | Mark-Simulacrum <mark.simulacrum@gmail.com> | 2016-08-11 15:42:41 -0600 |
|---|---|---|
| committer | Mark-Simulacrum <mark.simulacrum@gmail.com> | 2016-08-11 15:42:41 -0600 |
| commit | 5be8df95c74514ade77c81a7afff1f4df3208bbd (patch) | |
| tree | 4bf603c702d06193e111e17adc3b96fbef0506a9 /src | |
| parent | e804a3cf256106c097d44f6e0212cd183122da07 (diff) | |
| download | rust-5be8df95c74514ade77c81a7afff1f4df3208bbd.tar.gz rust-5be8df95c74514ade77c81a7afff1f4df3208bbd.zip | |
Fix language in documentation comment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_bitflags/lib.rs | 2 |
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 |
