remove resolved TODO questions

This commit is contained in:
Anatol Ulrich 2021-10-27 15:40:00 +02:00
parent f244ed6a1a
commit 8d3ac328ee
2 changed files with 1 additions and 2 deletions

View file

@ -168,7 +168,6 @@ fn find_definitions(
let v: RenameResult<Vec<(ast::NameLike, Definition)>> = symbols.collect();
match v {
// remove duplicates
// TODO is "unique by `Definition`" correct?
Ok(v) => {
if v.is_empty() {
Err(format_err!("No references found at position"))

View file

@ -58,7 +58,7 @@ impl SourceChange {
pub fn merge(mut self, other: SourceChange) -> SourceChange {
self.extend(other.source_file_edits);
self.extend(other.file_system_edits);
self.is_snippet |= other.is_snippet; // TODO correct?
self.is_snippet |= other.is_snippet;
self
}
}