remove resolved TODO questions
This commit is contained in:
parent
f244ed6a1a
commit
8d3ac328ee
@ -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 @@ pub fn get_source_edit(&self, file_id: FileId) -> Option<&TextEdit> {
|
||||
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 New Issue
Block a user