Remove unachievable TODO

This commit is contained in:
yanchith 2019-03-18 08:19:51 +01:00
parent 907f7307af
commit 8d47e004b8

View file

@ -11,7 +11,6 @@ pub(crate) fn fill_struct_fields(mut ctx: AssistCtx<impl HirDatabase>) -> Option
let struct_lit = ctx.node_at_offset::<ast::StructLit>()?; let struct_lit = ctx.node_at_offset::<ast::StructLit>()?;
// If we already have existing struct fields, don't provide the assist. // If we already have existing struct fields, don't provide the assist.
// TODO: provide assist for tuple structs
match struct_lit.named_field_list() { match struct_lit.named_field_list() {
Some(named_field_list) if named_field_list.fields().count() > 0 => { Some(named_field_list) if named_field_list.fields().count() > 0 => {
return None; return None;