Skip to content

Commit

Permalink
Merge pull request #245 from konsumlamm/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
KodrAus committed Jul 19, 2021
2 parents 1e41c29 + 39810e7 commit 6aadbd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Expand Up @@ -648,7 +648,7 @@ macro_rules! __impl_bitflags {
!$BitFlags{ bits: self.bits & other.bits}.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 const fn contains(&self, other: $BitFlags) -> bool {
(self.bits & other.bits) == other.bits
Expand Down Expand Up @@ -796,7 +796,7 @@ macro_rules! __impl_bitflags {
// Input:
//
// ? #[cfg(feature = "advanced")]
// ? #[deprecated(note = "Use somthing else.")]
// ? #[deprecated(note = "Use something else.")]
// ? #[doc = r"High quality documentation."]
// fn f() -> i32 { /* ... */ }
//
Expand Down Expand Up @@ -851,7 +851,7 @@ macro_rules! __impl_bitflags {
// Input:
//
// ? #[cfg(feature = "advanced")]
// ? #[deprecated(note = "Use somthing else.")]
// ? #[deprecated(note = "Use something else.")]
// ? #[doc = r"High quality documentation."]
// const f: i32 { /* ... */ }
//
Expand Down

0 comments on commit 6aadbd0

Please sign in to comment.