remove redundant closures

This commit is contained in:
daniel.eades 2023-11-16 17:36:21 +00:00 committed by Ashley Wulber
parent 6cb69bc63b
commit 3d81eb874f
4 changed files with 5 additions and 5 deletions

View file

@ -797,7 +797,7 @@ impl cosmic::Application for CosmicNetworkApplet {
}
fn subscription(&self) -> Subscription<Message> {
let network_sub = network_manager_subscription(0).map(|e| Message::NetworkManagerEvent(e));
let network_sub = network_manager_subscription(0).map(Message::NetworkManagerEvent);
let timeline = self
.timeline
.as_subscription()