diff options
| author | Anatol Ulrich <45840+spookyvision@users.noreply.github.com> | 2021-11-03 15:44:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-03 15:44:32 +0100 |
| commit | 83927e08a8d683c8e88ec7d5d4b457285e8c7a88 (patch) | |
| tree | a5f3169f704a9aef50fac7cfcfd1598ad9d1d62e | |
| parent | 9025f51118ad54773e4607d4ab4106b3934678a0 (diff) | |
| download | rust-83927e08a8d683c8e88ec7d5d4b457285e8c7a88.tar.gz rust-83927e08a8d683c8e88ec7d5d4b457285e8c7a88.zip | |
Update crates/ide/src/rename.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
| -rw-r--r-- | crates/ide/src/rename.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide/src/rename.rs b/crates/ide/src/rename.rs index 9ce0dd7404a..3afcccd64d9 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"), } |
