Skip to main content

What it flags

.unwrap() in non-test code panics on None or Err.

How to review or fix

Test modules, static/const items and lock guards are accepted. Handle the case or use expect with the invariant that makes it safe.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: