mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-16 01:25:22 +00:00
Use dedicated structs in comparable.rs
(#5042)
## Summary Updating to match the updated AST structure, for consistency.
This commit is contained in:
parent
a477720f4e
commit
cc44349401
2 changed files with 731 additions and 546 deletions
|
@ -1,7 +1,9 @@
|
|||
use crate::{not_yet_implemented, FormatNodeRule, PyFormatter};
|
||||
use ruff_formatter::{write, Buffer, FormatResult};
|
||||
use rustpython_parser::ast::PatternMatchValue;
|
||||
|
||||
use ruff_formatter::{write, Buffer, FormatResult};
|
||||
|
||||
use crate::{not_yet_implemented, FormatNodeRule, PyFormatter};
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct FormatPatternMatchValue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue