Skip to content

Commit

Permalink
Make sure comments don't get lost either
Browse files Browse the repository at this point in the history
  • Loading branch information
BB9z committed Oct 22, 2023
1 parent 1b05eaa commit 3c0d99b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,13 @@ struct ExplicitInitRule: OptInRule {
"""),
Example("""
f { e in
// comment
A↓.init(e: e)
}
"""):
Example("""
f { e in
// comment
A(e: e)
}
"""),
Expand Down

0 comments on commit 3c0d99b

Please sign in to comment.