From b909ec4a58368b3344da7acf67a38e85824035ff Mon Sep 17 00:00:00 2001 From: Tyler K Date: Thu, 12 Dec 2024 15:31:19 -0800 Subject: [PATCH] Clippy, one last time --- tool/src/js/gen.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tool/src/js/gen.rs b/tool/src/js/gen.rs index 3ec5a73a2..a49f9feed 100644 --- a/tool/src/js/gen.rs +++ b/tool/src/js/gen.rs @@ -744,25 +744,25 @@ pub(super) struct ImportInfo<'info> { } /// Imports are only unique if they use a different type. We don't care about anything else. -impl<'info> Ord for ImportInfo<'info> { +impl Ord for ImportInfo<'_> { fn cmp(&self, other: &Self) -> core::cmp::Ordering { self.import_type.cmp(&other.import_type) } } -impl<'info> PartialOrd for ImportInfo<'info> { +impl PartialOrd for ImportInfo<'_> { fn partial_cmp(&self, other: &Self) -> Option { Some(self.import_type.cmp(&other.import_type)) } } -impl<'info> PartialEq for ImportInfo<'info> { +impl PartialEq for ImportInfo<'_> { fn eq(&self, other: &Self) -> bool { self.import_type.eq(&other.import_type) } } -impl<'info> Eq for ImportInfo<'info> {} +impl Eq for ImportInfo<'_> {} // Helpers used in templates (Askama has restrictions on Rust syntax)