rustfmt: disable wrap_comments
PATCH 1/1 rustfmt: disable wrap_comments
This was in practice not enabled until now, and now that it is the results are not great. Disable it so that the CI job check-rust-tools-nightly does not fail gratuitously.
Reported-by Peter Maydell <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
--- rust/rustfmt.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rust/rustfmt.toml +1 -1
@@ -4,4 +4,4 @@ format_code_in_doc_comments = true format_strings = true imports_granularity = "Crate" group_imports = "StdExternalCrate" -wrap_comments = true +wrap_comments = false
Signature · 1 line
2.55.0
Quoted 15 lines · Paolo Bonzini
This was in practice not enabled until now, and now that it is the results are not great. Disable it so that the CI job check-rust-tools-nightly does not fail gratuitously.
Reported-by Peter Maydell <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- rust/rustfmt.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)rust/rustfmt.toml +0
-0
rust/rustfmt.toml format_code_in_doc_comments = true · line 7
Quoted 5 lines
rust/rustfmt.toml +1
-1@@ -4,4 +4,4 @@ format_code_in_doc_comments = true format_strings = true imports_granularity = "Crate" group_imports = "StdExternalCrate" -wrap_comments = true +wrap_comments = false
Correct per https://rust-lang.github.io/rustfmt/?version=v1.10.0&search=#wrap_comments so:
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
and queued to unblock my GitLab CI, thanks.