trying to find a way to beat the borrow checker

This commit is contained in:
Chris Cochrun 2025-03-06 15:20:28 -06:00
parent e63f003181
commit 95fb1d86d8
2 changed files with 8 additions and 24 deletions

View file

@ -482,7 +482,7 @@ impl cosmic::Application for App {
let task = library.update(
library::Message::UpdateSong(song),
);
task.map(|m| {
task.map(|_m| {
cosmic::app::Message::App(Message::None)
})
} else {