ruff/crates/ruff_python_trivia/src
Charlie Marsh 8d0a5e01bd
Modify comment_ranges slice in BackwardsTokenizer (#7432)
## Summary

I was kinda curious to understand this issue
(https://github.com/astral-sh/ruff/issues/7426) and just ended up
attempting to address it.

## Test Plan

`cargo test`
2023-09-16 14:04:45 -04:00
..
snapshots Add support for multi-character operator tokens to SimpleTokenizer (#6563) 2023-08-16 09:09:19 -04:00
comment_ranges.rs Use CommentRanges in backwards lexing (#7360) 2023-09-16 03:21:45 +00:00
cursor.rs Use CommentRanges in backwards lexing (#7360) 2023-09-16 03:21:45 +00:00
lib.rs Use CommentRanges in backwards lexing (#7360) 2023-09-16 03:21:45 +00:00
textwrap.rs Remove parser dependency from ruff-python-ast (#6096) 2023-07-26 17:47:22 +02:00
tokenizer.rs Modify comment_ranges slice in BackwardsTokenizer (#7432) 2023-09-16 14:04:45 -04:00
whitespace.rs Move Ranged into ruff_text_size (#6919) 2023-08-27 14:12:51 -04:00