We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1ca307 commit 9b2fc8eCopy full SHA for 9b2fc8e
clippy_lints/src/fn_null_check.rs
@@ -40,7 +40,7 @@ fn lint_expr(cx: &LateContext<'_>, expr: &Expr<'_>) {
40
"function pointer assumed to be nullable, even though it isn't",
41
None,
42
"try wrapping your function pointer type in `Option<T>` instead, and using `is_none` to check for null pointer value",
43
- )
+ );
44
}
45
46
fn is_fn_ptr_cast(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool {
0 commit comments