Closed loriopatrick closed 5 years ago
Looks like the compiler doesn't support this feature.... huh. Going to do some local testing.
It's ?Sized
not Sized?
. Though I'm not sure what you are trying to achieve with this change exactly. Even with : ?Sized
it wouldn't compile as the only method returns Self
by value which is only allowed when Self
is Sized
.
Better supports fixed types such as
[u8; 32]
by allowing the compiler to determine the data type's size.