mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
clippy::redundant_field_names
This commit is contained in:
parent
b857a5dcf0
commit
aabd41cafc
6 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue