Trim the indentation on macros which heuristically appear to use block-style indentation (#3178)
This commit is contained in:
parent
16d5f507b6
commit
cd8bb50aea
6 changed files with 62 additions and 12 deletions
|
|
@ -749,7 +749,7 @@ impl ConfigCodeBlock {
|
|||
.code_block
|
||||
.as_ref()
|
||||
.unwrap()
|
||||
.split('\n')
|
||||
.lines()
|
||||
.nth(0)
|
||||
.unwrap_or("")
|
||||
== "#![rustfmt::skip]";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue