Critical Rust

Handle Results and Options properly

Rule Description

No `.unwrap()` in production. Use `?` operator, `map`, `and_then`. `expect()` only with good messages.

Included in Rulesets

Code Review Standards
214 rules • 0 standards
View

Add This Rule

Sign in to add this rule to your workspace

Sign in with GitHub

Details

Severity
Critical
Category
Rust
Used in
1 ruleset