Use clone to clone DelimArgs in two places.
This commit is contained in:
@@ -916,7 +916,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
||||
}
|
||||
|
||||
fn lower_delim_args(&self, args: &DelimArgs) -> DelimArgs {
|
||||
DelimArgs { dspan: args.dspan, delim: args.delim, tokens: args.tokens.clone() }
|
||||
args.clone()
|
||||
}
|
||||
|
||||
/// Lower an associated item constraint.
|
||||
|
||||
Reference in New Issue
Block a user