Skip to content

Commit

Permalink
Check formatting of code examples in doc comments
Browse files Browse the repository at this point in the history
Add format_code_in_doc_comments=true to the cargo fmt
config options.

Fixes: #58

Signed-off-by: Sergii Glushchenko <[email protected]>
  • Loading branch information
Sergii Glushchenko authored and lauralt committed Oct 6, 2021
1 parent 7f22582 commit 68d4dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/test_description.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 68d4dbf

Please sign in to comment.