From c5cf9d18bd4e3b50a4574b5443161e4d3573b1fe Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Mon, 16 Dec 2024 06:50:26 -0800 Subject: [PATCH] Clippy lint clean Summary: Fixes all Rust 1.81.0 (current) and Rust 1.83.0 (upcoming in D67041293) rustc/clippy lint issues in rust_foundation (and related) code. Reviewed By: dtolnay Differential Revision: D67262078 fbshipit-source-id: bd8807f76b3f3d68d610b69a0448983b4bf1fe41 --- src/fixups/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fixups/config.rs b/src/fixups/config.rs index c7ee99d3..c291c57e 100644 --- a/src/fixups/config.rs +++ b/src/fixups/config.rs @@ -102,7 +102,7 @@ impl FixupConfigFile { pub fn platform_configs<'a>( &'a self, version: &'a semver::Version, - ) -> impl Iterator + 'a { + ) -> impl Iterator + 'a { self.platform_fixup .iter() .filter(move |(_, cfg)| cfg.version_applies(version)) @@ -111,7 +111,7 @@ impl FixupConfigFile { pub fn configs<'a>( &'a self, version: &'a semver::Version, - ) -> impl Iterator, &FixupConfig)> + 'a { + ) -> impl Iterator, &'a FixupConfig)> + 'a { self.base(version) .into_iter() .map(|base| (None, base))