From 3af69b535992203c2582433d968eed22a7e7fe69 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 10 Mar 2021 15:49:01 +0100 Subject: Avoid double text edits when renaming mod declaration --- crates/ide/src/references/rename.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ide/src/references') diff --git a/crates/ide/src/references/rename.rs b/crates/ide/src/references/rename.rs index 05c73de88..bb68bcc78 100644 --- a/crates/ide/src/references/rename.rs +++ b/crates/ide/src/references/rename.rs @@ -94,6 +94,7 @@ pub(crate) fn rename_with_semantics( } } +/// Called by the client when it is about to rename a file. pub(crate) fn will_rename_file( db: &RootDatabase, file_id: FileId, -- cgit v1.2.3