def Split.comments
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1634def Split.comments(n: Tree, sp: Split) -> Split:
1635 match sp:
1636 case Split{parts, newlines, comment, attach, comments}:
1637 Split{parts, newlines, comment, attach, comments || is_comment(first(n))}