From 199eb619e67cde19bf6094e1981a7d40aabfdc6d Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Sun, 20 Nov 2022 15:26:13 +0000 Subject: [PATCH] Add missing "if" to contains doc-comment in traits.rs --- src/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/traits.rs b/src/traits.rs index 5a082a1b..a939dc9a 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -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.