Bug 1608150 [wpt PR 21112] - Add missing space in `./wpt lint` command line docs...
[gecko.git] / third_party / rust / rand / rustfmt.toml
blob6b2aba351783be7c2cd6ed1f576de51f260b8797
1 # This rustfmt file is added for configuration, but in practice much of our
2 # code is hand-formatted, frequently with more readable results.
4 # Comments:
5 normalize_comments = true
6 wrap_comments = false
7 format_doc_comments = true
8 comment_width = 90      # small excess is okay but prefer 80
10 # Arguments:
11 use_small_heuristics = "max"
12 fn_args_density = "compressed"
13 fn_single_line = false
14 overflow_delimited_expr = true
15 where_single_line = true
17 # enum_discrim_align_threshold = 20
18 # struct_field_align_threshold = 20
20 # Compatibility:
21 edition = "2018"        # we require compatibility back to 1.32.0
23 # Misc:
24 blank_lines_upper_bound = 2
25 reorder_impl_items = true
26 # report_todo = "Unnumbered"
27 # report_fixme = "Unnumbered"
29 # Ignored files:
30 ignore = []