Update rustfmt.toml and remove rustfmt warnings.
This commit is contained in:
parent
0653460fb2
commit
f8ae2dcffe
@ -52,9 +52,7 @@ mod content;
|
|||||||
mod utils;
|
mod utils;
|
||||||
mod static_resource;
|
mod static_resource;
|
||||||
|
|
||||||
/*
|
// THIS IS STILL A PROTOTYPE.
|
||||||
THIS IS STILL A PROTOTYPE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
fn build_ui(app: >k::Application) {
|
fn build_ui(app: >k::Application) {
|
||||||
let menu = gio::Menu::new();
|
let menu = gio::Menu::new();
|
||||||
|
|||||||
19
rustfmt.toml
19
rustfmt.toml
@ -1,26 +1,13 @@
|
|||||||
unstable_features = true
|
unstable_features = true
|
||||||
verbose = false
|
verbose = false
|
||||||
disable_all_formatting = false
|
|
||||||
skip_children = false
|
|
||||||
max_width = 100
|
max_width = 100
|
||||||
comment_width = 100
|
comment_width = 100
|
||||||
wrap_comments = true
|
wrap_comments = true
|
||||||
error_on_line_overflow = true
|
|
||||||
error_on_line_overflow_comments = false
|
|
||||||
tab_spaces = 4
|
tab_spaces = 4
|
||||||
newline_style = "Unix"
|
|
||||||
fn_call_style = "Block"
|
|
||||||
report_todo = "Never"
|
|
||||||
report_fixme = "Never"
|
|
||||||
reorder_extern_crates = true
|
|
||||||
reorder_extern_crates_in_group = true
|
|
||||||
reorder_imports = false
|
|
||||||
hard_tabs = false
|
hard_tabs = false
|
||||||
spaces_within_parens = false
|
newline_style = "Unix"
|
||||||
|
reorder_imports = false
|
||||||
write_mode = "Overwrite"
|
write_mode = "Overwrite"
|
||||||
merge_derives = true
|
|
||||||
condense_wildcard_suffixes = false
|
condense_wildcard_suffixes = false
|
||||||
format_strings = true
|
format_strings = true
|
||||||
multiline_closure_forces_block = true
|
normalize_comments = true
|
||||||
attributes_on_same_line_as_field = true
|
|
||||||
attributes_on_same_line_as_variant = true
|
|
||||||
Loading…
Reference in New Issue
Block a user