def record_end
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
2172# Where the record that head starts ends.
2173def record_end(head: Token, record: List<&2, Tree>) -> U32:
2174 Token.end(last(Maybe.default(&2, Tree, last_of(record, None{}), Leaf{head})))