Avoid a couple of allocations
This commit is contained in:
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user