Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GearsDatapacks committed Nov 25, 2024
1 parent 573cf05 commit 705bcfa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions compiler-core/src/language_server/code_action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -982,12 +982,6 @@ pub fn code_action_add_missing_patterns(
indent_size += 1;
}

// TODO: It would be nice to use the `print_case_expression` function here,
// however that causes things like comments to be removed, which is undesirable.
// In future we should work out a way to use that function, as the code below is
// pretty convoluted and difficult to understand, because it accounts for a set of
// very specific edge-cases. A generic formatting function would be much better.

let indent = " ".repeat(indent_size);

// Insert the missing patterns just after the final clause, or just before
Expand Down

0 comments on commit 705bcfa

Please sign in to comment.