mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Profile completions better
This commit is contained in:
parent
c66d477f5a
commit
b2e6ca46ca
9 changed files with 22 additions and 0 deletions
|
@ -17,6 +17,7 @@ pub(crate) fn render_enum_variant<'a>(
|
|||
variant: hir::EnumVariant,
|
||||
path: Option<ModPath>,
|
||||
) -> CompletionItem {
|
||||
let _p = profile::span("render_enum_variant");
|
||||
EnumVariantRender::new(ctx, local_name, variant, path).render(import_data)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue