Skip to content

Document all unsafe blocks.Β #562

@reitermarkus

Description

@reitermarkus

All unsafe blocks should be documented with a SAFETY comment and be scoped as closely as possible.

After all are documented, the clippy::undocumented_unsafe_blocks lint should be enabled.

Also, the unsafe_op_in_unsafe_fn lint should be enabled (default in edition 2024), so that unsafe blocks in unsafe functions are also documented.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions