Skip to content

documentation tooltip links to nonsensical docs.rs pageΒ #10646

Open
@jhgg

Description

@jhgg

Given this code:

struct Foo;

/// Like [`Foo`] but better.
struct Bar;

fn main() {
    let x = Ba$0r;
}

A hover produces:

image

Foo when clicked, links to: https://docs.rs/rust_playground/*/rust_playground/struct.Foo.html

I think it should behave like these links:

image
and just navigate you to the relevant item in the editor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-doc-commentsdoc string related issuesA-hoverhover featureA-idegeneral IDE featuresC-featureCategory: feature requestS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions