mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-25 08:12:26 +00:00
17 lines
350 B
TOML
17 lines
350 B
TOML
# Based on
|
|
# https://github.com/rust-lang/rustfmt/blob/rustfmt-1.4.19/Configurations.md
|
|
|
|
# Stable
|
|
edition = "2018"
|
|
fn_args_layout = "Compressed"
|
|
max_width = 80
|
|
tab_spaces = 2
|
|
use_field_init_shorthand = true
|
|
use_try_shorthand = true
|
|
use_small_heuristics = "Max"
|
|
|
|
# Unstable
|
|
format_code_in_doc_comments = true
|
|
merge_imports = true
|
|
wrap_comments = true
|