diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2025-07-25 17:55:45 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2025-07-25 22:02:09 -0700 |
| commit | 1e2d58798fab4aa6275acf3746e1aec5340fc97f (patch) | |
| tree | fb561695a8315defa3599c3bc6cc9be31a36f977 /compiler/rustc_hir/src | |
| parent | 56c5b1df941664567d3c1f820d5861fdb25a3ca4 (diff) | |
| download | rust-1e2d58798fab4aa6275acf3746e1aec5340fc97f.tar.gz rust-1e2d58798fab4aa6275acf3746e1aec5340fc97f.zip | |
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.
Diffstat (limited to 'compiler/rustc_hir/src')
0 files changed, 0 insertions, 0 deletions
