about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/std_example.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-12-05 23:47:07 +0100
committerGitHub <noreply@github.com>2024-12-05 23:47:07 +0100
commita424813c4355cddc259dc5a9bb5083f602b0a684 (patch)
tree34862b5d8b42988b3ebf39cc2bb5704b343b4ef8 /compiler/rustc_codegen_cranelift/example/std_example.rs
parentc94848c046d29f9a80c09aae758e27e418a289f2 (diff)
parent854ebe7522ef3b91e708a45077bbcd8da061e876 (diff)
downloadrust-a424813c4355cddc259dc5a9bb5083f602b0a684.tar.gz
rust-a424813c4355cddc259dc5a9bb5083f602b0a684.zip
Rollup merge of #132155 - GuillaumeGomez:impl-block-doc, r=rustdoc
Always display first line of impl blocks even when collapsed

Fixes https://github.com/rust-lang/rust/issues/130612.

It the line is too long, only the beginning will be visible:

![Screenshot from 2024-10-25 17-21-41](https://github.com/user-attachments/assets/dd2d912c-ad55-4410-8195-1d66a0a99ad4)

Otherwise, it looks like this:

![image](https://github.com/user-attachments/assets/1f40b9e0-2143-4b9d-a4b0-338a0cd740df)

Can be tested [here](https://rustdoc.crud.net/imperio/impl-block-doc/foo/struct.ImplDoc.html).

r? `@notriddle`
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions