Skip to content

Commit

Permalink
Add missing "if" to contains doc-comment in traits.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty-snake committed Nov 20, 2022
1 parent a9ba127 commit 199eb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traits.rs
Original file line number Diff line number Diff line change
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 199eb61

Please sign in to comment.