Commit bea260d
committed
Use rustfmt::skip instead of cfg_attr
Currently we use `cfg_attr` to disable the formatter so that the
attribute can be on an expression.
There was a new lint introduced into nightly just recently that checks
cfg args, this `cfg_attr` usage triggers it.
Use `rustfmt::skip` instead and put it on the function because it
doesn't currently work on expressions.1 parent 4590488 commit bea260d
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | | - | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments