Skip to content

Commit

Permalink
Merge pull request #291 from rusty-snake/patch-1
Browse files Browse the repository at this point in the history
Add missing "if" to contains doc-comment in traits.rs
  • Loading branch information
KodrAus committed Nov 23, 2022
2 parents a9ba127 + 199eb61 commit 89f03d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traits.rs
Expand Up @@ -56,7 +56,7 @@ pub trait BitFlags: ImplementedByBitFlagsMacro {
/// Returns `true` if there are flags common to both `self` and `other`.
fn intersects(&self, other: Self) -> bool;

/// 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`.
fn contains(&self, other: Self) -> bool;

/// Inserts the specified flags in-place.
Expand Down

0 comments on commit 89f03d5

Please sign in to comment.