Philipp Hansch 0d85d7e60f
Fix suggestions for redundant_pattern_matching
Fixes the problem displayed in https://github.com/rust-lang/rust-clippy/issues/4344#issuecomment-519206388.

We now append `{}` to the suggestion so that the conditional has the
correct syntax again.

(If we were to _remove_ the `if` instead, it would trigger the
`unused_must_use` warning for `#[must_use]` types.
2019-08-21 07:29:44 +02:00
..
2019-08-14 09:58:00 +02:00
2019-06-21 16:47:34 +02:00
2019-07-28 06:45:23 +02:00
2019-06-21 16:47:34 +02:00