Enable unused_parens for match arms
This commit is contained in:
parent
c9e134e1b6
commit
8dd44f1af4
6 changed files with 58 additions and 3 deletions
|
@ -617,7 +617,7 @@ impl SplitVarLenSlice {
|
|||
// The only admissible fixed-length slice is one of the array size. Whether `max_slice`
|
||||
// is fixed-length or variable-length, it will be the only relevant slice to output
|
||||
// here.
|
||||
Some(_) => (0..0), // empty range
|
||||
Some(_) => 0..0, // empty range
|
||||
// We cover all arities in the range `(self.arity..infinity)`. We split that range into
|
||||
// two: lengths smaller than `max_slice.arity()` are treated independently as
|
||||
// fixed-lengths slices, and lengths above are captured by `max_slice`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue