8c416c3197
`::from` is not a const fn, so applying the suggestion of `cast_lossless` would fail to compile. The fix is to skip the lint if the cast is found inside a const fn. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
8c416c3197
`::from` is not a const fn, so applying the suggestion of `cast_lossless` would fail to compile. The fix is to skip the lint if the cast is found inside a const fn. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |