gecko-dev/gfx/webrender_bindings/rustfmt.toml
Ryan Hunt 6eca7a5745 Bug 1357543 - Add rustfmt.toml and run rustfmt on webrender_bindings r=kats
The new rustfmt.toml is based off servo/rustfmt.toml with some
tweaks to match the existing code in webrender_bindings

MozReview-Commit-ID: 7LbXC6qyjan

--HG--
extra : amend_source : 436e49dbd3d3fd72aab0f1791cf6e0d3fcc348b4
2017-04-18 16:20:53 -04:00

17 lines
295 B
TOML

ideal_width = 80
max_width = 120
newline_style = "Unix"
normalize_comments = false
force_explicit_abi = true
fn_args_density = "Vertical"
chain_indent = "Visual"
chain_one_line_max = 90
struct_lit_multiline_style = "ForceMulti"
match_block_trailing_comma = true
where_trailing_comma = true