mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
Show BestFitting
mode if it isn't FirstLine
(#5452)
This commit is contained in:
parent
f9129e435a
commit
f0ec9ecd67
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ impl Format<IrFormatContext<'_>> for &[FormatElement] {
|
|||
FormatElement::Line(LineMode::Hard),
|
||||
])?;
|
||||
|
||||
if *mode != BestFittingMode::AllLines {
|
||||
if *mode != BestFittingMode::FirstLine {
|
||||
write!(
|
||||
f,
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue