From 1f794077eca93207c9aad9c0eeca67d19722c8ac Mon Sep 17 00:00:00 2001 From: konsti Date: Thu, 9 May 2024 23:22:09 +0200 Subject: [PATCH] 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 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index d30432b1f0..fe931df70f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"