about summary refs log tree commit diff
path: root/compiler/rustc_hir/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-07-25 17:55:45 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-07-25 22:02:09 -0700
commit1e2d58798fab4aa6275acf3746e1aec5340fc97f (patch)
treefb561695a8315defa3599c3bc6cc9be31a36f977 /compiler/rustc_hir/src
parent56c5b1df941664567d3c1f820d5861fdb25a3ca4 (diff)
downloadrust-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