Commit 1e2d587
committed
Avoid making the start of a doc code block conditional
Placing the opening triple-backquote inside a `cfg_attr` makes many
tools confused, including syntax highlighters (e.g. vim's) and rustfmt.
Instead, use a `cfg` inside the doc code block.1 parent 56c5b1d commit 1e2d587
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3259 | 3259 | | |
3260 | 3260 | | |
3261 | 3261 | | |
3262 | | - | |
3263 | | - | |
| 3262 | + | |
| 3263 | + | |
3264 | 3264 | | |
3265 | 3265 | | |
3266 | 3266 | | |
3267 | 3267 | | |
3268 | 3268 | | |
3269 | 3269 | | |
3270 | 3270 | | |
| 3271 | + | |
3271 | 3272 | | |
3272 | 3273 | | |
3273 | 3274 | | |
| |||
0 commit comments