def check.loose_span

bolt@1.27.0.0 · src/rules/style/wrap.bend:809

import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrap
import Base

809# the `)` with no `->` right after it on its line
810def check.loose_span(wk: Walk) -> Maybe<&2, Span>:
811  Walk{mode, _paren, _bracket, _brace, _angle, shut, _open, _on, _pline, _pend, _pcol, _spans} = wk
812  match mode:
813    case Shut{}:
814      Some{shut}
815    case Loose{}:
816      Some{shut}
817    case other:
818      None{}

Uses (4)

Used by (1)