mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-16 08:30:16 +00:00
Inline ExprNumberLiteral
formatting logic (#8340)
## Summary This PR inlines the formatting logic for `ExprNumberLiteral` and removes the need of having dedicated `Format*` struct for each number type. ## Test Plan `cargo test`
This commit is contained in:
parent
230c9ce236
commit
b5a4a9a356
3 changed files with 155 additions and 208 deletions
|
@ -56,7 +56,6 @@ pub(crate) mod expr_tuple;
|
|||
pub(crate) mod expr_unary_op;
|
||||
pub(crate) mod expr_yield;
|
||||
pub(crate) mod expr_yield_from;
|
||||
pub(crate) mod number;
|
||||
mod operator;
|
||||
pub(crate) mod parentheses;
|
||||
pub(crate) mod string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue