ruff/crates/ruff_linter
Dhruv Manilawala cd564c4200
Use `OneIndexed` in `NotebookIndex` (#7921)
## 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
2023-10-13 06:23:49 +05:30
..
resources/test Fix `E251` false positive inside f-strings (#7894) 2023-10-12 05:26:39 +00:00
src Use `OneIndexed` in `NotebookIndex` (#7921) 2023-10-13 06:23:49 +05:30
Cargo.toml Use crates.io unicode_names2 0.6.0 (#6478) 2023-10-02 18:17:38 -04:00