mirror of https://github.com/astral-sh/ruff
Allow clippy map-unwrap-or (#11354)
`map_or` is harder too read than the `.map().unwrap()` version. See also https://github.com/astral-sh/uv/pull/3498
This commit is contained in:
parent
3e8878a1c8
commit
1f794077ec
|
|
@ -130,6 +130,7 @@ char_lit_as_u8 = "allow"
|
|||
collapsible_else_if = "allow"
|
||||
collapsible_if = "allow"
|
||||
implicit_hasher = "allow"
|
||||
map_unwrap_or = "allow"
|
||||
match_same_arms = "allow"
|
||||
missing_errors_doc = "allow"
|
||||
missing_panics_doc = "allow"
|
||||
|
|
|
|||
Loading…
Reference in New Issue