def check.shut_span
import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrapimport Base
797# the `)` of a list that did close, when it is not on a line after the last
798# parameter
799def check.shut_span(wk: Walk) -> Maybe<&2, Span>:
800 Walk{mode, _paren, _bracket, _brace, _angle, shut, _open, _on, _pline, _pend, _pcol, spans} = wk
801 match mode:
802 case Seek{}:
803 None{}
804 case Args{}:
805 None{}
806 case other:
807 check.shut_at(shut, spans)