Skip to content

Some functions do not show examples on hover #15920

Closed as not planned
Closed as not planned
@oloko64

Description

@oloko64

Problem

The functions saturating_mul, saturating_add, abs, etc don´t show the examples, however on the Rust docs they have examples for those functions.

Seems to be related to const fn functions.


On VSCode

image
image


On Rust docs

image


rust-analyzer version: v0.3.1730

rustc version: 1.74.0

relevant settings: Using VSCode on Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions