remove clone in call arg parsing
This commit is contained in:
parent
22607fb0ef
commit
7b8b5c233c
@ -397,7 +397,7 @@ pub(crate) fn eat_call_args<I: Iterator<Item = Token>>(
|
||||
if name.is_empty() {
|
||||
CallArg::Positional(args.len())
|
||||
} else {
|
||||
CallArg::Named(name.clone().into())
|
||||
CallArg::Named(name.as_str().into())
|
||||
},
|
||||
val.clone(),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user