Skip to content

Commit fcc465c

Browse files
committed
clippy
1 parent 74e5150 commit fcc465c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/ruff_python_formatter/src/options.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,19 @@ impl PyFormatOptions {
7171
self
7272
}
7373

74+
#[must_use]
7475
pub fn with_magic_trailing_comma(mut self, trailing_comma: MagicTrailingComma) -> Self {
7576
self.magic_trailing_comma = trailing_comma;
7677
self
7778
}
7879

80+
#[must_use]
7981
pub fn with_indent_style(mut self, indent_style: IndentStyle) -> Self {
8082
self.indent_style = indent_style;
8183
self
8284
}
8385

86+
#[must_use]
8487
pub fn with_line_width(mut self, line_width: LineWidth) -> Self {
8588
self.line_width = line_width;
8689
self

0 commit comments

Comments
 (0)