Skip to content

Commit 83a16e8

Browse files
Merge #4878
4878: Make "Replace qualified name with use" replace *all* mentions of the path r=matklad a=jonas-schievink Fixes #4836 Co-authored-by: Jonas Schievink <[email protected]>
2 parents f4f5117 + 4295a00 commit 83a16e8

File tree

5 files changed

+257
-59
lines changed

5 files changed

+257
-59
lines changed

crates/ra_assists/src/assist_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ impl AssistBuilder {
252252
pub(crate) fn rewrite(&mut self, rewriter: SyntaxRewriter) {
253253
let node = rewriter.rewrite_root().unwrap();
254254
let new = rewriter.rewrite(&node);
255-
algo::diff(&node, &new).into_text_edit(&mut self.edit)
255+
algo::diff(&node, &new).into_text_edit(&mut self.edit);
256256
}
257257

258258
// FIXME: kill this API

0 commit comments

Comments
 (0)