Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: add `.rustfmt.toml`

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
+1
.gitignore
··· 97 97 !.gitattributes 98 98 !.gitignore 99 99 !.mailmap 100 + !.rustfmt.toml 100 101 101 102 # 102 103 # Generated include files
+12
.rustfmt.toml
··· 1 + edition = "2021" 2 + newline_style = "Unix" 3 + 4 + # Unstable options that help catching some mistakes in formatting and that we may want to enable 5 + # when they become stable. 6 + # 7 + # They are kept here since they are useful to run from time to time. 8 + #format_code_in_doc_comments = true 9 + #reorder_impl_items = true 10 + #comment_width = 100 11 + #wrap_comments = true 12 + #normalize_comments = true