From 1bcfb56242d1decdbf7afd4cfa96a00460af3c43 Mon Sep 17 00:00:00 2001 From: Thierry Cantin-Demers Date: Fri, 29 Nov 2024 14:44:28 -0500 Subject: [PATCH] fix clippy --- crates/heat-sdk-cli/src/util/cargo/interning.rs | 2 +- crates/heat-sdk/src/log/application_logger.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/heat-sdk-cli/src/util/cargo/interning.rs b/crates/heat-sdk-cli/src/util/cargo/interning.rs index 612cc22..a033967 100644 --- a/crates/heat-sdk-cli/src/util/cargo/interning.rs +++ b/crates/heat-sdk-cli/src/util/cargo/interning.rs @@ -66,7 +66,7 @@ impl PartialEq for InternedString { } } -impl<'a> PartialEq<&'a str> for InternedString { +impl PartialEq<&str> for InternedString { fn eq(&self, other: &&str) -> bool { **self == **other } diff --git a/crates/heat-sdk/src/log/application_logger.rs b/crates/heat-sdk/src/log/application_logger.rs index 7b504a3..2b325bb 100644 --- a/crates/heat-sdk/src/log/application_logger.rs +++ b/crates/heat-sdk/src/log/application_logger.rs @@ -33,7 +33,7 @@ struct RemoteWriterMaker { client: HeatClientState, } -impl<'a> MakeWriter<'a> for RemoteWriterMaker { +impl MakeWriter<'_> for RemoteWriterMaker { type Writer = RemoteWriter; fn make_writer(&self) -> Self::Writer {