Skip to main content

INF

Constant INF 

Source
pub const INF: Cost = 30_000;
Expand description

Sentinel for “unreachable or over budget”. INF plus any single edit cost still fits in a u16.