mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 15:44:13 +08:00
80db40bac8
This is the configuration file for the `rustfmt` tool. `rustfmt` is a tool for formatting Rust code according to style guidelines. It is very commonly used across Rust projects. The default configuration options are used. Reviewed-by: Kees Cook <keescook@chromium.org> Co-developed-by: Alex Gaynor <alex.gaynor@gmail.com> Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com> Co-developed-by: Wedson Almeida Filho <wedsonaf@google.com> Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
13 lines
369 B
TOML
13 lines
369 B
TOML
edition = "2021"
|
|
newline_style = "Unix"
|
|
|
|
# Unstable options that help catching some mistakes in formatting and that we may want to enable
|
|
# when they become stable.
|
|
#
|
|
# They are kept here since they are useful to run from time to time.
|
|
#format_code_in_doc_comments = true
|
|
#reorder_impl_items = true
|
|
#comment_width = 100
|
|
#wrap_comments = true
|
|
#normalize_comments = true
|