diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/presentation.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/presentation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/presentation.rs b/crates/ra_ide_api/src/completion/presentation.rs index ad414412b..b8aa433c1 100644 --- a/crates/ra_ide_api/src/completion/presentation.rs +++ b/crates/ra_ide_api/src/completion/presentation.rs | |||
@@ -76,7 +76,7 @@ impl Completions { | |||
76 | None, | 76 | None, |
77 | ), | 77 | ), |
78 | ScopeDef::MacroDef(mac) => { | 78 | ScopeDef::MacroDef(mac) => { |
79 | self.add_macro(ctx, Some(local_name.clone()), *mac); | 79 | self.add_macro(ctx, Some(local_name), *mac); |
80 | return; | 80 | return; |
81 | } | 81 | } |
82 | ScopeDef::Unknown => { | 82 | ScopeDef::Unknown => { |