MAINTAINERS: add `.rustfmt.toml` to "RUST" entry
Miguel Ojeda
maintainerPATCH 1/1 MAINTAINERS: add `.rustfmt.toml` to "RUST" entry
.rustfmt.toml is not covered by MAINTAINERS, so tools like scripts/get_maintainer.pl do not report it properly, e.g.:
$ scripts/get_maintainer.pl -f .rustfmt.toml
[email protected] (open list)It should have been there since the beginning, and while it is not a big deal since the file has not changed at all since it was added in commit 80db40bac8f4 ("rust: add .rustfmt.toml") back in 2022, this will be especially useful to catch unintended unstable features if upstream rustfmt started to allow them in stable toolchains [1][2].
Thus add it.
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -23146,6 +23146,7 @@ C: zulip://rust-for-linux.zulipchat.com P: https://rust-for-linux.com/contributing T: git https://github.com/Rust-for-Linux/linux.git rust-next F: .clippy.toml +F: .rustfmt.toml F: Documentation/rust/ F: include/trace/events/rust_sample.h F: rust/
base-commit: bf074eb6891be799174ff42e0051492681fdc045
Signature · 1 line
2.53.0
Miguel Ojeda
AppliedQuoted 13 lines · Miguel Ojeda
.rustfmt.tomlis not covered byMAINTAINERS, so tools likescripts/get_maintainer.pldo not report it properly, e.g.:$ scripts/get_maintainer.pl -f .rustfmt.toml [email protected] (open list)It should have been there since the beginning, and while it is not a big deal since the file has not changed at all since it was added in commit
80db40bac8f4("rust: add.rustfmt.toml") back in 2022, this will be especially useful to catch unintended unstable features if upstreamrustfmtstarted to allow them in stable toolchains [1][2].
Quoted 6 lines
Thus add it.
Fixes 80db40bac8f4 ("rust: add `.rustfmt.toml`")Signed-off-by Miguel Ojeda <[email protected]>
Applied to rust-next!
Cheers,
Miguel