diff options
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_dot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs index e34ddf24a..2e8084699 100644 --- a/crates/ra_ide_api/src/completion/complete_dot.rs +++ b/crates/ra_ide_api/src/completion/complete_dot.rs | |||
@@ -24,7 +24,7 @@ fn complete_fields(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) | |||
24 | } | 24 | } |
25 | } | 25 | } |
26 | // FIXME unions | 26 | // FIXME unions |
27 | TypeCtor::Tuple => { | 27 | TypeCtor::Tuple { .. } => { |
28 | for (i, ty) in a_ty.parameters.iter().enumerate() { | 28 | for (i, ty) in a_ty.parameters.iter().enumerate() { |
29 | acc.add_pos_field(ctx, i, ty); | 29 | acc.add_pos_field(ctx, i, ty); |
30 | } | 30 | } |