From 59e0ae75d05332ce0c8413000ba1bae0b1b16848 Mon Sep 17 00:00:00 2001 From: Owen Sanchez Date: Sun, 5 Feb 2017 09:51:31 -0700 Subject: [PATCH] Make rustfmt happy --- clippy_lints/src/empty_enum.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clippy_lints/src/empty_enum.rs b/clippy_lints/src/empty_enum.rs index 896087f4706..631ac8b0fe2 100644 --- a/clippy_lints/src/empty_enum.rs +++ b/clippy_lints/src/empty_enum.rs @@ -38,8 +38,7 @@ fn check_item(&mut self, cx: &LateContext, item: &Item) { let adt = ty.ty_adt_def().expect("already checked whether this is an enum"); if adt.variants.is_empty() { span_lint_and_then(cx, EMPTY_ENUM, item.span, "enum with no variants", |db| { - db.span_help(item.span, - "consider using the uninhabited type `!` or a wrapper around it"); + db.span_help(item.span, "consider using the uninhabited type `!` or a wrapper around it"); }); } } -- 2.44.0