Skip to content

unwrap rule it's too noisy #527

@thypon

Description

@thypon

Reference: ...

Proposed Solution

  • Remove the rule

  • Fork and improve the rule:

    • Only do it for unwrap and assume that expect means that someone at least thought about why it cannot happen.
    • Ignore any file in examples/, tests/, benches/ (if not already done)
    • Ignore #[test] functions
    • Create a custom clippy lint, so that we can prevent the warnings from semgrep by checking/fixing them locally first

Metadata

Metadata

Assignees

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