about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiki4tap <rombiklol2@gmail.com>2022-12-18 19:43:26 +0300
committerNiki4tap <rombiklol2@gmail.com>2022-12-18 19:43:26 +0300
commit9b2fc8e2a2da497344d42ccf8ddefc794eb82858 (patch)
tree87684f4a98d41a9bf7159486203ca0f6703ebf66
parentb1ca307168b622d66a7f0d66421933236bb8cbcf (diff)
downloadrust-9b2fc8e2a2da497344d42ccf8ddefc794eb82858.tar.gz
rust-9b2fc8e2a2da497344d42ccf8ddefc794eb82858.zip
Make clippy happy
-rw-r--r--clippy_lints/src/fn_null_check.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/fn_null_check.rs b/clippy_lints/src/fn_null_check.rs
index f4b7a55fa74..6eb5ddd94d7 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<T>` instead, and using `is_none` to check for null pointer value",
-    )
+    );
 }
 
 fn is_fn_ptr_cast(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool {