Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #245

Merged
merged 1 commit into from Jul 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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