Critical
Rust
Handle Results and Options properly
Official
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
Add This Rule
Sign in to add this rule to your workspace
Sign in with GitHubDetails
- Severity
- Critical
- Category
- Rust
- Used in
- 1 ruleset