mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
remove resolved TODO questions
This commit is contained in:
parent
f244ed6a1a
commit
8d3ac328ee
2 changed files with 1 additions and 2 deletions
|
@ -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"))
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue