Skip to content

diffguard-core/sensor.rs:44: render_sensor_report() may panic but lacks # Panics doc section #1598

Description

@EffortlessSteven

Location:

Clippy warning:

Panics

Root cause: The function calls on line 50 when rendering findings — if a finding's is not present in , it will panic.

Fix: Add a section to the doc comment:
rule_idctx.rule_metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions