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
Currently, Option<NonZeroI32> implements Zeroable, but Option<i32> does not. Would it be sound to implement ZeroableInOption for all Zeroable types? Since zero maps to None in a regular option, this would always produce a valid value wouldn't it?
The text was updated successfully, but these errors were encountered:
Currently,
Option<NonZeroI32>
implementsZeroable
, butOption<i32>
does not. Would it be sound to implementZeroableInOption
for allZeroable
types? Since zero maps toNone
in a regular option, this would always produce a valid value wouldn't it?The text was updated successfully, but these errors were encountered: