mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 15:44:22 -05:00
- Renames functions to drop `expect_` from names. - Make functions return `Option<LineColumn>` to appropriately signal when range is not available. - Update existing consumers to use `unwrap_or_default()`. Uncertain if there are better fallback behaviors for individual consumers.