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
Added the `BitFlags::to_flag` method that converts `BitFlags<T>` to
`T` if there is exactly one flag that is set.
This is semantically equivalent to `flags.iter().exactly_one()` with
`itertools`, but without the dependency and faster.
0 commit comments