We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CONFUSING_METHOD_TO_NUMERIC_CAST
1 parent 06fa045 commit a94abaeCopy full SHA for a94abae
clippy_lints/src/casts/mod.rs
@@ -789,7 +789,7 @@ declare_clippy_lint! {
789
790
declare_clippy_lint! {
791
/// ### What it does
792
- /// Checks for casts of a primitive method pointer to any integer type.
+ /// Checks for casts of a primitive method pointer like `max`/`min` to any integer type.
793
///
794
/// ### Why restrict this?
795
/// Casting a function pointer to an integer can have surprising results and can occur
0 commit comments