trying to find a way to beat the borrow checker
This commit is contained in:
parent
e63f003181
commit
95fb1d86d8
2 changed files with 8 additions and 24 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue