mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
Remove unachievable TODO
This commit is contained in:
parent
907f7307af
commit
8d47e004b8
1 changed files with 0 additions and 1 deletions
|
@ -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>()?;
|
||||
|
||||
// If we already have existing struct fields, don't provide the assist.
|
||||
// TODO: provide assist for tuple structs
|
||||
match struct_lit.named_field_list() {
|
||||
Some(named_field_list) if named_field_list.fields().count() > 0 => {
|
||||
return None;
|
||||
|
|
Loading…
Reference in a new issue