mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
Forbid uses of unwrap() in the code (#7795)
This commit is contained in:
@@ -340,6 +340,7 @@ unused_peekable = "warn"
|
||||
unused_rounding = "warn"
|
||||
unused_self = "warn"
|
||||
unused_trait_names = "warn"
|
||||
unwrap_used = "warn"
|
||||
use_self = "warn"
|
||||
useless_let_if_seq = "warn"
|
||||
useless_transmute = "warn"
|
||||
@@ -352,7 +353,6 @@ zero_sized_map_values = "warn"
|
||||
comparison_chain = "allow"
|
||||
should_panic_without_expect = "allow"
|
||||
too_many_lines = "allow"
|
||||
unwrap_used = "allow" # TODO(emilk): We really wanna warn on this one
|
||||
|
||||
# These are meh:
|
||||
assigning_clones = "allow" # No please
|
||||
|
||||
Reference in New Issue
Block a user