Use dedicated structs in comparable.rs (#5042)

## Summary

Updating to match the updated AST structure, for consistency.
This commit is contained in:
Charlie Marsh
2023-06-12 23:57:34 -04:00
committed by GitHub
parent a477720f4e
commit cc44349401
2 changed files with 731 additions and 546 deletions

View File

@@ -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;