Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ThierryCantin-Demers committed Nov 29, 2024
1 parent f359e79 commit 1bcfb56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/heat-sdk-cli/src/util/cargo/interning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl PartialEq<str> for InternedString {
}
}

impl<'a> PartialEq<&'a str> for InternedString {
impl PartialEq<&str> for InternedString {
fn eq(&self, other: &&str) -> bool {
**self == **other
}
Expand Down
2 changes: 1 addition & 1 deletion crates/heat-sdk/src/log/application_logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1bcfb56

Please sign in to comment.