From 9b2fc8e2a2da497344d42ccf8ddefc794eb82858 Mon Sep 17 00:00:00 2001 From: Niki4tap Date: Sun, 18 Dec 2022 19:43:26 +0300 Subject: [PATCH] Make clippy happy --- clippy_lints/src/fn_null_check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/fn_null_check.rs b/clippy_lints/src/fn_null_check.rs index f4b7a55fa746..6eb5ddd94d7b 100644 --- a/clippy_lints/src/fn_null_check.rs +++ b/clippy_lints/src/fn_null_check.rs @@ -40,7 +40,7 @@ fn lint_expr(cx: &LateContext<'_>, expr: &Expr<'_>) { "function pointer assumed to be nullable, even though it isn't", None, "try wrapping your function pointer type in `Option` instead, and using `is_none` to check for null pointer value", - ) + ); } fn is_fn_ptr_cast(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool {