about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-05-27 15:25:40 -0500
committerbinarycat <binarycat@envs.net>2025-06-16 16:54:12 -0500
commitb676f551e2b784c3ee7500edfc24fa46fdf6b6ef (patch)
tree8821b8cceb76bcb08bdec2f39fabb8fd400bcb28 /compiler/rustc_codegen_llvm/src
parent3bc767e1a215c4bf8f099b32e84edb85780591b1 (diff)
downloadrust-b676f551e2b784c3ee7500edfc24fa46fdf6b6ef.tar.gz
rust-b676f551e2b784c3ee7500edfc24fa46fdf6b6ef.zip
rustdoc: add ways of collapsing all impl blocks
either shift+click the Summary button,
or use the `_` key.

this collapses everything,
including (inherent) impl blocks.

no need for a special "expand all impl blocks"
method, as impl blocks are expanded during regular
"expand all".
doing "expand all" -> "collapse all" will always
result in only impl blocks being expaned.

some of the html is split up a bit awkwardly to
try to avoid introducing new whitespaces nodes,
which could affect display.

Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions