aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_completion/src/render.rs')
-rw-r--r--crates/ide_completion/src/render.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ide_completion/src/render.rs b/crates/ide_completion/src/render.rs
index bf59ff57b..97dd52851 100644
--- a/crates/ide_completion/src/render.rs
+++ b/crates/ide_completion/src/render.rs
@@ -25,7 +25,7 @@ use crate::{
25 25
26pub(crate) fn render_field<'a>( 26pub(crate) fn render_field<'a>(
27 ctx: RenderContext<'a>, 27 ctx: RenderContext<'a>,
28 receiver: Option<String>, 28 receiver: Option<hir::Name>,
29 field: hir::Field, 29 field: hir::Field,
30 ty: &hir::Type, 30 ty: &hir::Type,
31) -> CompletionItem { 31) -> CompletionItem {
@@ -34,7 +34,7 @@ pub(crate) fn render_field<'a>(
34 34
35pub(crate) fn render_tuple_field<'a>( 35pub(crate) fn render_tuple_field<'a>(
36 ctx: RenderContext<'a>, 36 ctx: RenderContext<'a>,
37 receiver: Option<String>, 37 receiver: Option<hir::Name>,
38 field: usize, 38 field: usize,
39 ty: &hir::Type, 39 ty: &hir::Type,
40) -> CompletionItem { 40) -> CompletionItem {
@@ -130,7 +130,7 @@ impl<'a> Render<'a> {
130 130
131 fn render_field( 131 fn render_field(
132 &self, 132 &self,
133 receiver: Option<String>, 133 receiver: Option<hir::Name>,
134 field: hir::Field, 134 field: hir::Field,
135 ty: &hir::Type, 135 ty: &hir::Type,
136 ) -> CompletionItem { 136 ) -> CompletionItem {
@@ -163,7 +163,7 @@ impl<'a> Render<'a> {
163 163
164 fn render_tuple_field( 164 fn render_tuple_field(
165 &self, 165 &self,
166 receiver: Option<String>, 166 receiver: Option<hir::Name>,
167 field: usize, 167 field: usize,
168 ty: &hir::Type, 168 ty: &hir::Type,
169 ) -> CompletionItem { 169 ) -> CompletionItem {