Skip to content

On the rustdoc page for type T, the sidebar section "Trait Implementations" lists impl A<T> for U items identically for all U #143123

Open
@zopsicle

Description

@zopsicle

Consider https://doc.rust-lang.org/std/primitive.u32.html. In the sidebar, scroll to "Trait Implementations" and you will see this (similar for many other traits, such as Add and Shl):

Screenshot

This is not so useful because you have to hover over each of them and check the URL to see what it is.

Maybe the for u32 or for &u32 part should be included in the hyperlink text if they'd otherwise be identical. Or maybe with a nested list so it fits more easily into the narrow sidebar:

  • From<bool>
  • From<char>
  • From<u8>
  • From<u32>
    • for AtomicU32
    • for Ipv4Addr
    • for f128
    • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy