mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 22:10:48 -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.