Skip to content

missing_safety_doc warning even on functions internal to crate #4608

Closed
@tspiteri

Description

@tspiteri

Functions which are public in their module, but inside a private module, are not exposed in the API docs. In fact they do not get a warning with warn(missing_docs). They still get a warning with warn(clippy::missing_safety_doc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions