From 0fd87a1f57155433b30ff83a4c4957bc74a04b54 Mon Sep 17 00:00:00 2001 From: Nathaniel Ledford Date: Sat, 29 Jun 2024 14:42:40 -0400 Subject: [PATCH] Apply clippy fix --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/plex/models/artists.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b7aa369..c020254 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -747,7 +747,7 @@ dependencies = [ [[package]] name = "hitomi" -version = "0.4.0" +version = "0.4.1" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index a847a71..5275a6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hitomi" -version = "0.4.0" +version = "0.4.1" description = "Builds and updates custom playlists on a Plex server" authors = ["Nathaniel Ledford "] homepage = "https://github.com/nledford/hitomi" diff --git a/src/plex/models/artists.rs b/src/plex/models/artists.rs index 0fdb2cc..2cd31fb 100644 --- a/src/plex/models/artists.rs +++ b/src/plex/models/artists.rs @@ -17,7 +17,7 @@ impl Artist { } pub fn get_title(&self) -> &str { - &self.title.as_str() + self.title.as_str() } }