mirror of
https://github.com/rust-vmm/rust-vmm-ci.git
synced 2026-08-05 03:08:31 +00:00
Check formatting of code examples in doc comments
Add format_code_in_doc_comments=true to the cargo fmt config options. Fixes: https://github.com/rust-vmm/rust-vmm-ci/issues/58 Signed-off-by: Sergii Glushchenko <gsserge@amazon.com>
This commit is contained in:
committed by
Laura Loghin
parent
7f22582590
commit
68d4dbf85c
@@ -18,7 +18,7 @@
|
||||
},
|
||||
{
|
||||
"test_name": "style",
|
||||
"command": "cargo fmt --all -- --check"
|
||||
"command": "cargo fmt --all -- --check --config format_code_in_doc_comments=true"
|
||||
},
|
||||
{
|
||||
"test_name": "unittests-gnu",
|
||||
|
||||
Reference in New Issue
Block a user