Profile completions better

This commit is contained in:
Kirill Bulatov 2020-11-27 18:00:03 +02:00
parent c66d477f5a
commit b2e6ca46ca
9 changed files with 22 additions and 0 deletions

View file

@ -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)
}