From cfc45d52bb90a1b893ea964b1b91d7dd125ae36d Mon Sep 17 00:00:00 2001 From: Andrew Cann Date: Thu, 1 Dec 2016 11:56:55 +0800 Subject: [PATCH] Style fix --- src/librustc_const_eval/_match.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustc_const_eval/_match.rs b/src/librustc_const_eval/_match.rs index b6d1d22015e..f5408aa2ce2 100644 --- a/src/librustc_const_eval/_match.rs +++ b/src/librustc_const_eval/_match.rs @@ -543,8 +543,7 @@ pub fn is_useful<'p, 'a: 'p, 'tcx: 'a>(cx: &mut MatchCheckCtxt<'a, 'tcx>, ConstructWitness => UsefulWithWitness(vec![Witness(vec![])]), LeaveOutWitness => Useful, } - } - else { + } else { NotUseful } };