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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;