mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +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),
|
FormatElement::Line(LineMode::Hard),
|
||||||
])?;
|
])?;
|
||||||
|
|
||||||
if *mode != BestFittingMode::AllLines {
|
if *mode != BestFittingMode::FirstLine {
|
||||||
write!(
|
write!(
|
||||||
f,
|
f,
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue