Skip to content

Commit

Permalink
Update the configuration of rustfmt and run it
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Feb 16, 2023
1 parent 465c367 commit 35377dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion gnuplot/src/axes_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,10 @@ impl AxesCommonData
let mut first = true;
for e in self.elems.iter()
{
if e.num_rows == 0 { continue; }
if e.num_rows == 0
{
continue;
}
if !first
{
write!(writer, ",");
Expand Down
4 changes: 1 addition & 3 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct_field_align_threshold = 0
enum_discrim_align_threshold = 0
match_arm_blocks = true
force_multiline_blocks = false
fn_args_layout = "Compressed"
fn_params_layout = "Compressed"
brace_style = "AlwaysNextLine"
control_brace_style = "AlwaysNextLine"
trailing_semicolon = true
Expand All @@ -57,8 +57,6 @@ skip_children = false
hide_parse_errors = false
error_on_line_overflow = false
error_on_unformatted = false
report_todo = "Never"
report_fixme = "Never"
ignore = []
emit_mode = "Files"
make_backup = false

0 comments on commit 35377dc

Please sign in to comment.