def exponent
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
475# After a fraction: [eE][+-]?\d+, if it is there.
476def exponent(r: Run) -> Scan:
477 match r:
478 case Run{text, n, +s, last}:
479 exponent.of(s, s, text, n, last)