Unnamed repository; edit this file 'description' to name the repository.
Update crates/ide/src/rename.rs
Co-authored-by: Lukas Wirth <[email protected]>
Anatol Ulrich 2021-11-03
parent 9025f51 · commit 83927e0
-rw-r--r--crates/ide/src/rename.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide/src/rename.rs b/crates/ide/src/rename.rs
index 9ce0dd7404..3afcccd64d 100644
--- a/crates/ide/src/rename.rs
+++ b/crates/ide/src/rename.rs
@@ -57,7 +57,6 @@ pub(crate) fn prepare_rename(
match res {
// ensure at least one definition was found
- // TODO this duplicates work done at the end of `find_definitions`
Some(res) => res.map(|range| RangeInfo::new(range, ())),
None => bail!("No references found at position"),
}