Skip to content

Instantly share code, notes, and snippets.

@Mixerou
Created October 9, 2022 16:22
Show Gist options
  • Select an option

  • Save Mixerou/6b079ba96402513ef38b21c39e25bc91 to your computer and use it in GitHub Desktop.

Select an option

Save Mixerou/6b079ba96402513ef38b21c39e25bc91 to your computer and use it in GitHub Desktop.
Rust FMT TOML 2018 Edition
# https://rust-lang.github.io/rustfmt/?version=master&search=
max_width = 120
tab_spaces = 4
# fn_single_line = true
# match_block_trailing_comma = true
# normalize_comments = true
# wrap_comments = true
# use_field_init_shorthand = true
# use_try_shorthand = true
# normalize_doc_attributes = true
# report_todo = "Never"
# report_fixme = "Always"
# imports_layout = "HorizontalVertical"
# imports_granularity = "Crate"
# reorder_modules = true
# reorder_imports = true
# enum_discrim_align_threshold = 20
edition = "2018"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment