Skip to content

Documentation not showing up through rust-analyzer when include_str! is used #929

Closed
@udoprog

Description

@udoprog

The way documentation is defined for certain functions prevents it from showing up through rust-analyzer (see screenshot).

This is what you see when you use into_make_service():
image

This is what you see when you use into_make_service_with_connect_info():
image

I don't know if this should count as a rust-analyzer issue, but it could be worth considering to improve usability of APIs with the current state of tooling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions