diff options
-rw-r--r-- | crates/ra_ide_api/src/completion/completion_item.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/completion_item.rs b/crates/ra_ide_api/src/completion/completion_item.rs index 7bd634498..f9a266524 100644 --- a/crates/ra_ide_api/src/completion/completion_item.rs +++ b/crates/ra_ide_api/src/completion/completion_item.rs | |||
@@ -176,6 +176,7 @@ impl<'a> Builder<'a> { | |||
176 | self.insert_text = Some(insert_text.into()); | 176 | self.insert_text = Some(insert_text.into()); |
177 | self | 177 | self |
178 | } | 178 | } |
179 | #[allow(unused)] | ||
179 | pub(crate) fn insert_text_format( | 180 | pub(crate) fn insert_text_format( |
180 | mut self, | 181 | mut self, |
181 | insert_text_format: InsertTextFormat, | 182 | insert_text_format: InsertTextFormat, |
@@ -191,10 +192,12 @@ impl<'a> Builder<'a> { | |||
191 | self.kind = Some(kind); | 192 | self.kind = Some(kind); |
192 | self | 193 | self |
193 | } | 194 | } |
195 | #[allow(unused)] | ||
194 | pub(crate) fn text_edit(mut self, text_edit: AtomTextEdit) -> Builder<'a> { | 196 | pub(crate) fn text_edit(mut self, text_edit: AtomTextEdit) -> Builder<'a> { |
195 | self.text_edit = Some(text_edit); | 197 | self.text_edit = Some(text_edit); |
196 | self | 198 | self |
197 | } | 199 | } |
200 | #[allow(unused)] | ||
198 | pub(crate) fn additional_text_edits(mut self, additional_text_edits: TextEdit) -> Builder<'a> { | 201 | pub(crate) fn additional_text_edits(mut self, additional_text_edits: TextEdit) -> Builder<'a> { |
199 | self.additional_text_edits = Some(additional_text_edits); | 202 | self.additional_text_edits = Some(additional_text_edits); |
200 | self | 203 | self |