def check.on_close
import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrapimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
145# a closing bracket, as the depth it lowers
146def check.on_close(kk: Lex.TokKind, +tx: String) -> Act:
147 match kk:
148 case Lex.TClose{}:
149 check.close_text(tx)
150 case other:
151 ANone{}