mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
24b5e64ac1
Formats the following files: * components/layout/display_list_builder.rs * components/layout/webrender_helpers.rs Remove outdated options from rustfmt.toml. Configure rustfmt to place binary operators at the end of line (to match ./mach test-tidy). Rationale: I am tired of indenting my patches by hand trying my best to do it correctly and match the surrounding code. Just to be told that either my indentation is wrong or that I should switch to block indentation for this function because it looks better. The new formatting passes `./mach test-tidy`. Compared to the old formatting it is a lot more consistent but also tends to spread the code across more lines. The diff is this big because a lot of code used visual indentation. See also #8553 Source-Repo: https://github.com/servo/servo Source-Revision: 3692f13dcbba64741e2f8d15fc1e225667437ef6 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 03e42b8bf9b41ecf90a607bcfe8b3b5647fca017
3 lines
59 B
TOML
3 lines
59 B
TOML
match_block_trailing_comma = true
|
|
binop_separator = "Back"
|