diff options
| author | Andrew Cann <shum@canndrew.org> | 2016-12-01 11:56:55 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2017-01-03 15:33:31 +0800 |
| commit | cfc45d52bb90a1b893ea964b1b91d7dd125ae36d (patch) | |
| tree | 4906c2cbeaadfe47353d4c32102d97663ed50e1a /src | |
| parent | 9ba9cd5fd5df75d12225429f5831fb968672c79d (diff) | |
| download | rust-cfc45d52bb90a1b893ea964b1b91d7dd125ae36d.tar.gz rust-cfc45d52bb90a1b893ea964b1b91d7dd125ae36d.zip | |
Style fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_const_eval/_match.rs | 3 |
1 files changed, 1 insertions, 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 } }; |
