From 953ddddf6c2663a080f169750f329575dd8d48e6 Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Thu, 19 Dec 2024 19:17:10 -0600 Subject: [PATCH] clippy --- components/timezone/src/ids.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/timezone/src/ids.rs b/components/timezone/src/ids.rs index 04afacca036..31357d5d3f9 100644 --- a/components/timezone/src/ids.rs +++ b/components/timezone/src/ids.rs @@ -838,7 +838,7 @@ impl<'a> Iterator for TimeZoneCanonicalIanaIter<'a> { type Item = TimeZoneIanaIdBorrowed<'a>; fn next(&mut self) -> Option { - self.inner.next().map(|s| TimeZoneIanaIdBorrowed(s)) + self.inner.next().map(TimeZoneIanaIdBorrowed) } }