mirror of https://github.com/astral-sh/ruff
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
File diff suppressed because it is too large
Load Diff
|
|
@ -1,7 +1,9 @@
|
||||||
use crate::{not_yet_implemented, FormatNodeRule, PyFormatter};
|
|
||||||
use ruff_formatter::{write, Buffer, FormatResult};
|
|
||||||
use rustpython_parser::ast::PatternMatchValue;
|
use rustpython_parser::ast::PatternMatchValue;
|
||||||
|
|
||||||
|
use ruff_formatter::{write, Buffer, FormatResult};
|
||||||
|
|
||||||
|
use crate::{not_yet_implemented, FormatNodeRule, PyFormatter};
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
pub struct FormatPatternMatchValue;
|
pub struct FormatPatternMatchValue;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue