]> git.lizzy.rs Git - rust.git/commit
Add width for codeblocks in comments (#5372)
authorsec65 <106604020+sec65@users.noreply.github.com>
Fri, 17 Jun 2022 03:15:16 +0000 (05:15 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Jun 2022 03:15:16 +0000 (22:15 -0500)
commit33c60740d3e1387a5979cac93785e605de8470e0
tree55b4d31b976ce431947564639f5b9c68a7d7f930
parente44380b34167ff554ca7bd6ccd446a511927e8aa
Add width for codeblocks in comments (#5372)

* add doc_comment_code_block_width configuration

* updated config docu

* Updated docu and changed tests to config folder
Configurations.md
src/comment.rs
src/config/mod.rs
tests/source/configs/doc_comment_code_block_width/100.rs [new file with mode: 0644]
tests/source/configs/doc_comment_code_block_width/100_greater_max_width.rs [new file with mode: 0644]
tests/source/configs/doc_comment_code_block_width/50.rs [new file with mode: 0644]
tests/target/configs/doc_comment_code_block_width/100.rs [new file with mode: 0644]
tests/target/configs/doc_comment_code_block_width/100_greater_max_width.rs [new file with mode: 0644]
tests/target/configs/doc_comment_code_block_width/50.rs [new file with mode: 0644]