def closing
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1732# A generic's closing > stays glued to the term before it: Bend parses a
1733# spaced > as a comparison, even across a newline.
1734def closing(close: Token, comments: Bool) -> Doc:
1735 Bool.pick(Doc, is_sym(Token.sym(close), Gt{}), nothing(), opening(comments))