From 6c9adc4c076d23a83de740ac31717ca921ce6161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 9 Feb 2024 12:27:08 +0100 Subject: [PATCH] chore(compiler): make clippy happy addresses a new lint from Rust 1.76 --- crates/apollo-compiler/src/validation/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/apollo-compiler/src/validation/mod.rs b/crates/apollo-compiler/src/validation/mod.rs index 7646d435a..56ac50003 100644 --- a/crates/apollo-compiler/src/validation/mod.rs +++ b/crates/apollo-compiler/src/validation/mod.rs @@ -433,8 +433,7 @@ impl DiagnosticList { pub fn iter( &self, - ) -> impl Iterator> + DoubleEndedIterator + ExactSizeIterator - { + ) -> impl DoubleEndedIterator> + ExactSizeIterator { self.diagnostics_data .iter() .map(|data| data.to_diagnostic(&self.sources))