From 552219c4576524c8cf5edb0a6e3494e3f41c9820 Mon Sep 17 00:00:00 2001 From: aprzn Date: Mon, 20 Feb 2023 01:45:04 -0500 Subject: [PATCH] nothing --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 20f835a..b06279b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -115,8 +115,8 @@ impl From for eframe::epaint::Color32 { } impl Song { - pub fn try_new(gd_song: gd::Song) -> Result { - if let gd::Song::Newgrounds { id } = gd_song { + pub fn try_new(gd_song: &gd::Song) -> Result { + if let &gd::Song::Newgrounds { id } = gd_song { let song_response = gd_song.get_response(); let song_path = gd::save_path().join(format!("{id}.mp3"));