aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_assists/src/fill_struct_fields.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_assists/src/fill_struct_fields.rs b/crates/ra_assists/src/fill_struct_fields.rs
index 05a5ebf66..938322d1d 100644
--- a/crates/ra_assists/src/fill_struct_fields.rs
+++ b/crates/ra_assists/src/fill_struct_fields.rs
@@ -11,7 +11,6 @@ pub(crate) fn fill_struct_fields(mut ctx: AssistCtx<impl HirDatabase>) -> Option
11 let struct_lit = ctx.node_at_offset::<ast::StructLit>()?; 11 let struct_lit = ctx.node_at_offset::<ast::StructLit>()?;
12 12
13 // If we already have existing struct fields, don't provide the assist. 13 // If we already have existing struct fields, don't provide the assist.
14 // TODO: provide assist for tuple structs
15 match struct_lit.named_field_list() { 14 match struct_lit.named_field_list() {
16 Some(named_field_list) if named_field_list.fields().count() > 0 => { 15 Some(named_field_list) if named_field_list.fields().count() > 0 => {
17 return None; 16 return None;