Skip to content

undocumented and potentially unnessary unsafe blocks #1380

Closed
@matu3ba

Description

@matu3ba

In wait.rs are #[allow(unused_unsafe)] annotated blocks and unsafe without explanation.

Looking at the libc crate, they use safe_f macro rules. I think this should mean that usage of this function is safe (in contrast to f macro rule in libc).

Reason for my request is a global lint rule forbidding unused unsafe.

The functions exited, exit_status, signaled, term_signal, dumped_core, stopped, stop_signal are also untested.

What am I missing on this?

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