From aabd41cafc1a79f5ad124a31a360ab0442c13efd Mon Sep 17 00:00:00 2001 From: Maan2003 Date: Sun, 13 Jun 2021 09:40:22 +0530 Subject: clippy::redundant_field_names --- crates/mbe/src/expander/transcriber.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/mbe/src') 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( template: &MetaTemplate, bindings: &Bindings, ) -> ExpandResult { - let mut ctx = ExpandCtx { bindings: bindings, nesting: Vec::new() }; + let mut ctx = ExpandCtx { bindings, nesting: Vec::new() }; let mut arena: Vec = Vec::new(); expand_subtree(&mut ctx, template, None, &mut arena) } -- cgit v1.2.3