Closed rafalh closed 8 months ago
This was actually fixed last December in 2f6d9faefd70d9f6e4b0a6a0920f6419c7573f38 but then just never tagged a new version. You can temporarily point your dependency to git until a new version is released. Sorry about that!
Example code:
Clippy warning:
If I do the conversion manually by using
as
operator orusize::from
, it no longer shows the warning. Maybe it would make sense to add#[allow(clippy::unnecessary_fallible_conversions)]
in the generated code or avoid fallible conversion foru16
andu8
.