Skip to content

Commit 35377dc

Browse files
committed
Update the configuration of rustfmt and run it
1 parent 465c367 commit 35377dc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

gnuplot/src/axes_common.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1449,7 +1449,10 @@ impl AxesCommonData
14491449
let mut first = true;
14501450
for e in self.elems.iter()
14511451
{
1452-
if e.num_rows == 0 { continue; }
1452+
if e.num_rows == 0
1453+
{
1454+
continue;
1455+
}
14531456
if !first
14541457
{
14551458
write!(writer, ",");

rustfmt.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct_field_align_threshold = 0
3434
enum_discrim_align_threshold = 0
3535
match_arm_blocks = true
3636
force_multiline_blocks = false
37-
fn_args_layout = "Compressed"
37+
fn_params_layout = "Compressed"
3838
brace_style = "AlwaysNextLine"
3939
control_brace_style = "AlwaysNextLine"
4040
trailing_semicolon = true
@@ -57,8 +57,6 @@ skip_children = false
5757
hide_parse_errors = false
5858
error_on_line_overflow = false
5959
error_on_unformatted = false
60-
report_todo = "Never"
61-
report_fixme = "Never"
6260
ignore = []
6361
emit_mode = "Files"
6462
make_backup = false

0 commit comments

Comments
 (0)