def check.none_at

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

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

820# the `(` line, when the list holds no parameter
821def check.none_at(spans: List<&2, Span>, +open: U32) -> Maybe<&2, Span>:
822  match spans:
823    case Nil{}:
824      Some{Span{open, open, 0}}
825    case Con{_sp, _rest}:
826      None{}

Uses (4)

Used by (1)