-
-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Description
Are there plans for this? Would like to use it in constant generics.
Lines 119 to 121 in bda9320
| pub fn as_u16(&self) -> u16 { | |
| (*self).into() | |
| } |
Change to this:
pub const fn as_u16(&self) -> u16 {
(*self).0.get()
}snue
Metadata
Metadata
Assignees
Labels
No labels