From d512c2bcce5d577a562452eb47628223f3b50e0d Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Mon, 10 Sep 2018 09:03:33 +0200 Subject: [PATCH] add spaces --- clippy_lints/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 6e629e4cd21..cc04eb8eece 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -1813,7 +1813,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ImplicitHasher { .and_then(|snip| Some(item.span.lo() + BytePos(snip.find("impl")? as u32 + 4))); if let Some(pos) = pos { Span::new(pos, pos, item.span.data().ctxt) - }else{ + } else { return; } });