def Comment.closed

bend-lint-rules@0.2.0.0 · lib/linter/directives.bend:85

import bend-lint-rules@0.2.0.0/lib/linter/directives.bend as Directives
import 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)}

Uses (3)

Used by (2)