about summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-24 16:27:32 +0000
committerbors <bors@rust-lang.org>2025-08-24 16:27:32 +0000
commit3776358beb5747d938bdefaf47a1c76723e6a372 (patch)
treecda91b2cfa7e3177e1cb1617a899748576e4e4e9 /Cargo.lock
parent41a79f1862aa6b81bac674598e275e80e9f09eb9 (diff)
parentb8313dfb04a12b45483f2a8a7527d8ba1c63ae03 (diff)
downloadrust-3776358beb5747d938bdefaf47a1c76723e6a372.tar.gz
rust-3776358beb5747d938bdefaf47a1c76723e6a372.zip
Auto merge of #145812 - karolzwolak:attrs-in-fields-and-variants-section, r=GuillaumeGomez
rustdoc: render attributes in Field and Variants sections

Follow up to  rust-lang/rust#145782.
Render attributes in Field and Variants sections.

Associated constants and methods are already rendered with attributes in their sections, so I figured out fields  and variants should too.
(no change here)
<img width="378" height="265" alt="image" src="https://github.com/user-attachments/assets/b4f45c42-0146-486e-8881-138d2a7ad1c4" />
r? `@GuillaumeGomez`

---
Before (left) / after (right):

<img width="396" height="519" alt="image" src="https://github.com/user-attachments/assets/18288e13-09e7-448c-ba98-2023fa6df597" />
<img width="382" height="597" alt="image" src="https://github.com/user-attachments/assets/e624dc84-d169-41cc-bb89-7a1c2b2bb3e3" />

<img width="371" height="313" alt="image" src="https://github.com/user-attachments/assets/29833645-0b93-4900-80a8-c5a1e0b541b4" />
<img width="371" height="331" alt="image" src="https://github.com/user-attachments/assets/d5ce4b9e-f7f1-4f36-8ac0-08b0b5077e48" />

<img width="362" height="309" alt="image" src="https://github.com/user-attachments/assets/0436a51d-29a5-4403-a27c-7697524f807a" />
<img width="357" height="332" alt="image" src="https://github.com/user-attachments/assets/9a759fc5-30e7-4bbb-a88a-a3e3d1ed02aa" />
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions