Remove redundant clone()
This commit is contained in:
@@ -76,7 +76,7 @@ impl Completions {
|
||||
None,
|
||||
),
|
||||
ScopeDef::MacroDef(mac) => {
|
||||
self.add_macro(ctx, Some(local_name.clone()), *mac);
|
||||
self.add_macro(ctx, Some(local_name), *mac);
|
||||
return;
|
||||
}
|
||||
ScopeDef::Unknown => {
|
||||
|
||||
Reference in New Issue
Block a user