aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assists/split_import.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-01-29 14:35:28 +0000
committerGitHub <[email protected]>2020-01-29 14:35:28 +0000
commitb67f695956e17314b16f262cce9884f6d99c50dc (patch)
tree5b0a4d636639a6df2d079975590b14b0ae9afdec /crates/ra_assists/src/assists/split_import.rs
parente3c81b67ffb97f5ac34af54d7c42033f7830bf2f (diff)
parent6d219c9a10a99e480c39c2382053105028d33247 (diff)
Merge #2942
2942: Properly select a target for auto importing r=matklad a=SomeoneToIgnore Fixes https://github.com/rust-analyzer/rust-analyzer/issues/2932 The corresponding test has the caret placed in the beggining of the document despite the import inserted, but I don't thing I should fix it here: * in real life, there's some text written before the import and for those cases the caret behaves normally * it's a separate functionality that needs to be refactored anyway later (the `auto_import_text_edit`) Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/ra_assists/src/assists/split_import.rs')
0 files changed, 0 insertions, 0 deletions