mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Remove debug print
This commit is contained in:
parent
a6c8098113
commit
78de7f0d4a
1 changed files with 5 additions and 7 deletions
|
@ -145,13 +145,11 @@ fn fuzzy_completion(acc: &mut Completions, ctx: &CompletionContext) -> Option<()
|
||||||
})
|
})
|
||||||
.filter(|(mod_path, _)| mod_path.len() > 1)
|
.filter(|(mod_path, _)| mod_path.len() > 1)
|
||||||
.filter_map(|(import_path, definition)| {
|
.filter_map(|(import_path, definition)| {
|
||||||
let ie =
|
render_resolution_with_import(
|
||||||
ImportEdit { import_path: import_path.clone(), import_scope: import_scope.clone() };
|
RenderContext::new(ctx),
|
||||||
{
|
ImportEdit { import_path: import_path.clone(), import_scope: import_scope.clone() },
|
||||||
let _p = profile::span("totextedit");
|
&definition,
|
||||||
ie.to_text_edit(ctx.config.merge);
|
)
|
||||||
}
|
|
||||||
render_resolution_with_import(RenderContext::new(ctx), ie, &definition)
|
|
||||||
});
|
});
|
||||||
|
|
||||||
acc.add_all(possible_imports);
|
acc.add_all(possible_imports);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue