diff options
Diffstat (limited to 'crates/completion/src/completions/dot.rs')
-rw-r--r-- | crates/completion/src/completions/dot.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/completion/src/completions/dot.rs b/crates/completion/src/completions/dot.rs index c9875045a..551ef1771 100644 --- a/crates/completion/src/completions/dot.rs +++ b/crates/completion/src/completions/dot.rs | |||
@@ -82,8 +82,8 @@ impl S { | |||
82 | fn foo(s: S) { s.<|> } | 82 | fn foo(s: S) { s.<|> } |
83 | "#, | 83 | "#, |
84 | expect![[r#" | 84 | expect![[r#" |
85 | me bar() fn bar(&self) | ||
86 | fd foo u32 | 85 | fd foo u32 |
86 | me bar() fn bar(&self) | ||
87 | "#]], | 87 | "#]], |
88 | ); | 88 | ); |
89 | } | 89 | } |
@@ -98,8 +98,8 @@ impl S { | |||
98 | } | 98 | } |
99 | "#, | 99 | "#, |
100 | expect![[r#" | 100 | expect![[r#" |
101 | me foo() fn foo(self) | ||
102 | fd the_field (u32,) | 101 | fd the_field (u32,) |
102 | me foo() fn foo(self) | ||
103 | "#]], | 103 | "#]], |
104 | ) | 104 | ) |
105 | } | 105 | } |
@@ -114,8 +114,8 @@ impl A { | |||
114 | } | 114 | } |
115 | "#, | 115 | "#, |
116 | expect![[r#" | 116 | expect![[r#" |
117 | me foo() fn foo(&self) | ||
118 | fd the_field (u32, i32) | 117 | fd the_field (u32, i32) |
118 | me foo() fn foo(&self) | ||
119 | "#]], | 119 | "#]], |
120 | ) | 120 | ) |
121 | } | 121 | } |
@@ -147,8 +147,8 @@ mod inner { | |||
147 | fn foo(a: inner::A) { a.<|> } | 147 | fn foo(a: inner::A) { a.<|> } |
148 | "#, | 148 | "#, |
149 | expect![[r#" | 149 | expect![[r#" |
150 | fd crate_field u32 | ||
151 | fd pub_field u32 | 150 | fd pub_field u32 |
151 | fd crate_field u32 | ||
152 | fd super_field u32 | 152 | fd super_field u32 |
153 | "#]], | 153 | "#]], |
154 | ); | 154 | ); |