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
For BitFlags<T, N> converting to N with bits() is infallible. Thus, it need not be a try_from() and instead just from() where the impl is just bits(). A user can't do this themselves because of the orphan rule unless they make a newtype.
For
BitFlags<T, N>
converting toN
withbits()
is infallible. Thus, it need not be atry_from()
and instead justfrom()
where the impl is justbits()
. A user can't do this themselves because of the orphan rule unless they make a newtype.i.e. when
N == u8
:The text was updated successfully, but these errors were encountered: