Skip to content

Commit 8d3ac32

Browse files
author
Anatol Ulrich
committed
remove resolved TODO questions
1 parent f244ed6 commit 8d3ac32

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/ide/src/rename.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ fn find_definitions(
168168
let v: RenameResult<Vec<(ast::NameLike, Definition)>> = symbols.collect();
169169
match v {
170170
// remove duplicates
171-
// TODO is "unique by `Definition`" correct?
172171
Ok(v) => {
173172
if v.is_empty() {
174173
Err(format_err!("No references found at position"))

crates/ide_db/src/source_change.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl SourceChange {
5858
pub fn merge(mut self, other: SourceChange) -> SourceChange {
5959
self.extend(other.source_file_edits);
6060
self.extend(other.file_system_edits);
61-
self.is_snippet |= other.is_snippet; // TODO correct?
61+
self.is_snippet |= other.is_snippet;
6262
self
6363
}
6464
}

0 commit comments

Comments
 (0)