From 5b8335ede4214f802eab765ca99b5afa9057973c Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Tue, 13 Oct 2015 15:12:34 +0100 Subject: [PATCH] fixups --- src/libfmt_macros/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs index 41571366af5d4..4b70f5813bc99 100644 --- a/src/libfmt_macros/lib.rs +++ b/src/libfmt_macros/lib.rs @@ -421,11 +421,7 @@ impl<'a> Parser<'a> { break } } - if found { - Some(cur) - } else { - None - } + if found { Some(cur) } else { None } } }