def Comment.closed
import bend-lint-rules@0.2.0.0/lib/linter/directives.bend as Directivesimport Base
85# The comment `open`, ended at `at`, its body in order.
86def Comment.closed(open: Comment, at: U32) -> Comment:
87 match open:
88 case Comment{beg, end, line, trailing, body}:
89 Comment{beg, at, line, trailing, String.reverse(body)}