def split_hash.of
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
2121def split_hash.of(r: Run) -> Hash:
2122 match r:
2123 case Run{before, n, SNil{}, last}:
2124 Hash{before, None{}}
2125 case Run{before, n, rest, last}:
2126 Hash{before, Some{rest}}