diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-04-01 18:12:50 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-04-01 22:29:26 +0900 |
| commit | 89200f40ff7c0b4e896dd9d87ab2655c623b196e (patch) | |
| tree | f0eb948e91fc75a8c930b4837078329f93f72c1d /src/patterns.rs | |
| parent | 6b3811a3587cc9d9d0734c44e24b969319a7fab5 (diff) | |
Remove unnecessary `[..]`s
Diffstat (limited to 'src/patterns.rs')
| -rw-r--r-- | src/patterns.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patterns.rs b/src/patterns.rs index 44e32462a8d..9923eea418a 100644 --- a/src/patterns.rs +++ b/src/patterns.rs @@ -369,7 +369,7 @@ fn rewrite_tuple_pat( overflow::rewrite_with_parens( &context, &path_str, - &pat_ref_vec[..], + &pat_ref_vec, shape, span, context.config.max_width(), |
