From 1fe26739a155ea285f49cd096555e36344170198 Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Fri, 9 Jul 2021 14:32:12 -0400 Subject: [PATCH] Missing references Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com> --- src/types/album.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/album.rs b/src/types/album.rs index 3ec437fb..496f5532 100644 --- a/src/types/album.rs +++ b/src/types/album.rs @@ -47,7 +47,7 @@ impl<'a> Album<'a> { self.artist = Some(artist_str); } /// Clears the `artists` field - pub fn remove_artist(mut self) { + pub fn remove_artist(&mut self) { self.artist = None } /// Sets the album's front cover @@ -59,7 +59,7 @@ impl<'a> Album<'a> { self.covers.1 = Some(cover) } /// Clears the `covers` field - pub fn remove_covers(mut self) { + pub fn remove_covers(&mut self) { self.covers = (None, None) } }