mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
Use shared Cursor
across crates (#5715)
## Summary We have two `Cursor` implementations. This PR moves the implementation from the formatter into `ruff_python_whitespace` (kind of a poorly-named crate now) and uses it for both use-cases.
This commit is contained in:
parent
6ce252f0ed
commit
6dbc6d2e59
6 changed files with 163 additions and 210 deletions
|
@ -44,7 +44,6 @@ path = "tests/fixtures.rs"
|
|||
test = true
|
||||
required-features = [ "serde" ]
|
||||
|
||||
|
||||
[features]
|
||||
serde = ["dep:serde", "ruff_formatter/serde"]
|
||||
default = ["serde"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue