Update trait tags for resources-as-components (#24222)
# Objective Follow up on resources-as-components. Update trait tags in rustdoc-generated documentation: - do not add component tag on resources, as that's offers no new information - mark immutable resources as immutable, like with component trait ## Testing RUSTDOCFLAGS="--html-after-content docs-rs/trait-tags.html --cfg docsrs_dep" RUSTFLAGS="--cfg docsrs_dep" cargo doc --no-deps --package bevy_ecs ## Showcase Before: <img width="323" height="72" alt="Screenshot_20260509_233133" src="https://github.com/user-attachments/assets/b0448b13-3ce0-4c6e-8c3b-9e91a0ba521f" /> After: <img width="331" height="70" alt="Screenshot_20260509_233051" src="https://github.com/user-attachments/assets/650d0adf-e075-4e67-98f0-41ac7bf30dfe" />
M
Mira committed
e3b63dca7b48d10e79bd3e206a0b712d7d610c8a
Parent: 6e8bf09
Committed by GitHub <noreply@github.com>
on 5/13/2026, 5:46:41 AM