Update rustfmt.toml and remove rustfmt warnings.

This commit is contained in:
Jordan Petridis 2017-12-16 18:22:35 +02:00
parent 0653460fb2
commit f8ae2dcffe
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 4 additions and 19 deletions

View File

@ -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: &gtk::Application) { fn build_ui(app: &gtk::Application) {
let menu = gio::Menu::new(); let menu = gio::Menu::new();

View File

@ -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