clippy::redundant_field_names

This commit is contained in:
Maan2003 2021-06-13 09:40:22 +05:30
parent b857a5dcf0
commit aabd41cafc
No known key found for this signature in database
GPG key ID: E9AF024BA63C70ED
6 changed files with 7 additions and 7 deletions

View file

@ -55,7 +55,7 @@ pub(super) fn transcribe(
template: &MetaTemplate,
bindings: &Bindings,
) -> ExpandResult<tt::Subtree> {
let mut ctx = ExpandCtx { bindings: bindings, nesting: Vec::new() };
let mut ctx = ExpandCtx { bindings, nesting: Vec::new() };
let mut arena: Vec<tt::TokenTree> = Vec::new();
expand_subtree(&mut ctx, template, None, &mut arena)
}