aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
diff options
context:
space:
mode:
authorgfreezy <[email protected]>2019-01-19 14:11:38 +0000
committergfreezy <[email protected]>2019-01-19 14:11:38 +0000
commit64342599ca43fb72d0db8e79802a1018f480b5f5 (patch)
tree1e67ce4d1ae71b3c5aa05272e561ed75eccf1a94 /crates/ra_ide_api/src/completion
parentd08e81cdd818dd3378c292767e15a38e6bbc6f6c (diff)
ignore unused methods
Diffstat (limited to 'crates/ra_ide_api/src/completion')
-rw-r--r--crates/ra_ide_api/src/completion/completion_item.rs3
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