mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
fix: visibility completion
This commit is contained in:
parent
6c9fc4fec2
commit
1b5f0462ed
9 changed files with 103 additions and 57 deletions
|
@ -547,8 +547,11 @@ impl Analysis {
|
|||
&self,
|
||||
config: &CompletionConfig,
|
||||
position: FilePosition,
|
||||
trigger_character: Option<&str>,
|
||||
) -> Cancellable<Option<Vec<CompletionItem>>> {
|
||||
self.with_db(|db| ide_completion::completions(db, config, position).map(Into::into))
|
||||
self.with_db(|db| {
|
||||
ide_completion::completions(db, config, position, trigger_character).map(Into::into)
|
||||
})
|
||||
}
|
||||
|
||||
/// Resolves additional completion data at the position given.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue