diff options
| author | Ben Boeckel <mathstuf@gmail.com> | 2017-05-18 08:03:47 -0400 |
|---|---|---|
| committer | Ben Boeckel <mathstuf@gmail.com> | 2017-05-18 08:03:47 -0400 |
| commit | 8ca699ce26bab2ec9a2ce5f8ab31581c6deb12bc (patch) | |
| tree | 2cb100839c79067366f267f71d1da50630dd4d7d /src/patterns.rs | |
| parent | c0fae6a82a4cea3320f6e35432a4fc6bbad6b0f9 (diff) | |
config: fix `suffices` -> `suffixes` typo
Fixes #1477.
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 a1628888622..2b65604e6a8 100644 --- a/src/patterns.rs +++ b/src/patterns.rs @@ -295,7 +295,7 @@ fn rewrite_tuple_pat(pats: &[ptr::P<ast::Pat>], // Condense wildcard string suffix into a single .. let wildcard_suffix_len = count_wildcard_suffix_len(&items); - let list = if context.config.condense_wildcard_suffices && wildcard_suffix_len >= 2 { + let list = if context.config.condense_wildcard_suffixes && wildcard_suffix_len >= 2 { let new_item_count = 1 + pats.len() - wildcard_suffix_len; items[new_item_count - 1].item = Some("..".to_owned()); |
