Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
Hamuko
· 1y ago · 0 comments
I use expect() so that I can grep for instances of "unwrap()" after the prototyping phase without getting tests.
Comments
[–]
theodorton
1y ago
You can add
[lints.clippy] unwrap_used = "deny"
to Cargo.toml if you want to avoid unwrap and then explicitly opt-in with #[allow(clippy::unwrap_used)]
Better HN