about summary refs log tree commit diff
path: root/src/patterns.rs
diff options
context:
space:
mode:
authorShotaro Yamada <sinkuu@sinkuu.xyz>2018-04-01 18:12:50 +0900
committerShotaro Yamada <sinkuu@sinkuu.xyz>2018-04-01 22:29:26 +0900
commit89200f40ff7c0b4e896dd9d87ab2655c623b196e (patch)
treef0eb948e91fc75a8c930b4837078329f93f72c1d /src/patterns.rs
parent6b3811a3587cc9d9d0734c44e24b969319a7fab5 (diff)
Remove unnecessary `[..]`s
Diffstat (limited to 'src/patterns.rs')
-rw-r--r--src/patterns.rs2
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(),