Unnamed repository; edit this file 'description' to name the repository.
Remove add_snippet from source change
| -rw-r--r-- | crates/ide-db/src/source_change.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/ide-db/src/source_change.rs b/crates/ide-db/src/source_change.rs index 34112cd1b1..8118112d2b 100644 --- a/crates/ide-db/src/source_change.rs +++ b/crates/ide-db/src/source_change.rs @@ -375,12 +375,6 @@ impl SourceChangeBuilder { self.command = Some(Command::Rename); } - fn add_snippet(&mut self, snippet: PlaceSnippet) { - let snippet_builder = self.snippet_builder.get_or_insert(SnippetBuilder { places: vec![] }); - snippet_builder.places.push(snippet); - self.source_change.is_snippet = true; - } - fn add_snippet_annotation(&mut self, kind: AnnotationSnippet) -> SyntaxAnnotation { let annotation = SyntaxAnnotation::default(); self.snippet_annotations.push((kind, annotation)); |