rust/clippy_lints
Philipp Hansch 8c416c3197
Prevent incorrect cast_lossless suggestion in const_fn
`::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.
2019-01-26 10:57:15 +01:00
..

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.