mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Avoid a couple of allocations
This commit is contained in:
parent
ef1177c5b5
commit
42c24ff25f
10 changed files with 61 additions and 60 deletions
|
@ -475,7 +475,7 @@ impl Analysis {
|
|||
config: &CompletionConfig,
|
||||
position: FilePosition,
|
||||
full_import_path: &str,
|
||||
imported_name: &str,
|
||||
imported_name: String,
|
||||
) -> Cancelable<Vec<TextEdit>> {
|
||||
Ok(self
|
||||
.with_db(|db| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue