about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2020-08-08 19:20:34 +0200
committerflip1995 <hello@philkrones.com>2020-08-08 19:20:34 +0200
commitfd87cdb357b801b1fab465f0be595386a3f84134 (patch)
treeebbdf4ec07f9871ed850226490ea4bf2c55c00c9
parent01bba2c532c1f8bfc1463d672c6b2fc79bd96495 (diff)
downloadrust-fd87cdb357b801b1fab465f0be595386a3f84134.tar.gz
rust-fd87cdb357b801b1fab465f0be595386a3f84134.zip
Run fmt
-rw-r--r--clippy_lints/src/functions.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/functions.rs b/clippy_lints/src/functions.rs
index 6a141f1fc78..28b276967bc 100644
--- a/clippy_lints/src/functions.rs
+++ b/clippy_lints/src/functions.rs
@@ -294,7 +294,8 @@ impl<'tcx> LateLintPass<'tcx> for Functions {
                 let body = cx.tcx.hir().body(eid);
                 Self::check_raw_ptr(cx, sig.header.unsafety, &sig.decl, body, item.hir_id);
 
-                if attr.is_none() && cx.access_levels.is_exported(item.hir_id) && !is_proc_macro(cx.sess(), &item.attrs) {
+                if attr.is_none() && cx.access_levels.is_exported(item.hir_id) && !is_proc_macro(cx.sess(), &item.attrs)
+                {
                     check_must_use_candidate(
                         cx,
                         &sig.decl,