def hits.cells

bolt@1.27.0.0 · src/rules/suspicious/unused.bend:140

import bolt@1.27.0.0/src/rules/suspicious/unused.bend as Unused
import Base

140# the cells at a leaf, none elsewhere
141def hits.cells(hh: Hits) -> List<&2, Cell>:
142  match hh:
143    case HNone{}:
144      Nil{}
145    case HLeaf{cells}:
146      cells
147    case HNode{_lo, _hi}:
148      Nil{}

Uses (3)

Used by (2)