diff options
author | Maan2003 <[email protected]> | 2021-06-13 05:10:22 +0100 |
---|---|---|
committer | Maan2003 <[email protected]> | 2021-06-13 05:10:22 +0100 |
commit | aabd41cafc1a79f5ad124a31a360ab0442c13efd (patch) | |
tree | 584a7f437204904fcf23b55e201cb27323790b02 /crates/mbe/src/expander | |
parent | b857a5dcf094728b4beefd652ea31d2828eb0e10 (diff) |
clippy::redundant_field_names
Diffstat (limited to 'crates/mbe/src/expander')
-rw-r--r-- | crates/mbe/src/expander/transcriber.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mbe/src/expander/transcriber.rs b/crates/mbe/src/expander/transcriber.rs index 9a9c1a467..49a137577 100644 --- a/crates/mbe/src/expander/transcriber.rs +++ b/crates/mbe/src/expander/transcriber.rs | |||
@@ -55,7 +55,7 @@ pub(super) fn transcribe( | |||
55 | template: &MetaTemplate, | 55 | template: &MetaTemplate, |
56 | bindings: &Bindings, | 56 | bindings: &Bindings, |
57 | ) -> ExpandResult<tt::Subtree> { | 57 | ) -> ExpandResult<tt::Subtree> { |
58 | let mut ctx = ExpandCtx { bindings: bindings, nesting: Vec::new() }; | 58 | let mut ctx = ExpandCtx { bindings, nesting: Vec::new() }; |
59 | let mut arena: Vec<tt::TokenTree> = Vec::new(); | 59 | let mut arena: Vec<tt::TokenTree> = Vec::new(); |
60 | expand_subtree(&mut ctx, template, None, &mut arena) | 60 | expand_subtree(&mut ctx, template, None, &mut arena) |
61 | } | 61 | } |