Skip to main content

steps_backwards

Function steps_backwards 

Source
fn steps_backwards(spans: &[Span]) -> bool
Expand description

Whether a span list steps backwards, which the legacy bucket_indices refused.

The kernel’s side_from_view adds each offset to a running index and accepts a later span that steps backwards, so the expanded indices repeat or go negative. Legacy refused such a list outright, so the bridge refuses it too: add/sub answer None as they did, and scale/divide_by keep their field-by-field fallback.