mirror of https://github.com/astral-sh/ruff
## Summary This PR refactors the `NotebookIndex` struct to use `OneIndexed` to make the intent of the code clearer. ## Test Plan Update the existing test case and run `cargo test` to verify the change. - [x] Verify `--diff` output - [x] Verify the diagnostics output - [x] Verify `--show-source` output |
||
|---|---|---|
| .. | ||
| resources/test | ||
| src | ||
| Cargo.toml | ||