Skip to content

Copy should copy a usable full name of the item #140888

@ultimaweapon

Description

@ultimaweapon

Location

All page for any item (e.g. https://doc.rust-lang.org/std/fs/fn.read_dir.html).

Summary

When clicking on the copy button next to the item name the copied name is not usable in the code. The result when copied the name of https://doc.rust-lang.org/std/fs/fn.read_dir.html is:

std::fs - Rust::read_dir

Which does not useful. The copied text should be:

std::fs::read_dir

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions