Skip to content

diffguard-core/sensor.rs: render_sensor_report() missing #[must_use] — silent sensor data loss if result is discarded #534

@EffortlessSteven

Description

@EffortlessSteven

Location:

Problem: returns a (not ), but lacks . If a caller discards the return value, sensor monitoring data is silently lost — this is a serious data loss risk in production monitoring contexts.

Similar issue already filed: #518 ( and missing )

Fix: Add to the function declaration at line 44.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions