mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Profile completions better
This commit is contained in:
parent
c66d477f5a
commit
b2e6ca46ca
9 changed files with 22 additions and 0 deletions
|
@ -16,6 +16,7 @@ pub(crate) fn render_macro<'a>(
|
|||
name: String,
|
||||
macro_: hir::MacroDef,
|
||||
) -> Option<CompletionItem> {
|
||||
let _p = profile::span("render_macro");
|
||||
MacroRender::new(ctx, name, macro_).render(import_data)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue