You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a FlagSet::empty() -> Self method that returns an empty set.
This is more clear about the behavior/expected behavior than FlagSet::default(). I could imagine a FlagSet::default() implementation that returns a set with a predefined number of flags set.
Acceptance Criteria
Having a FlagSet::empty() method.
Suggestions for a technical implementation
Forward to the FlagSet::default() implementation.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
Add a
FlagSet::empty() -> Self
method that returns an empty set.This is more clear about the behavior/expected behavior than
FlagSet::default()
. I could imagine aFlagSet::default()
implementation that returns a set with a predefined number of flags set.Acceptance Criteria
Having a
FlagSet::empty()
method.Suggestions for a technical implementation
Forward to the
FlagSet::default()
implementation.The text was updated successfully, but these errors were encountered: