From 2065a40f642589134142a740ff4198deaa4c378b Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector0193@gmail.com>
Date: Sat, 9 Jul 2022 18:42:41 +0200
Subject: Fix `clippy` lints for all crates and features

... and check those in CI as well!
---
 examples/solar_system/src/main.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'examples/solar_system')

diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index cee9a02f..fc53d8f7 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -65,8 +65,7 @@ impl Application for SolarSystem {
     }
 
     fn subscription(&self) -> Subscription<Message> {
-        time::every(std::time::Duration::from_millis(10))
-            .map(|instant| Message::Tick(instant))
+        time::every(std::time::Duration::from_millis(10)).map(Message::Tick)
     }
 
     fn view(&mut self) -> Element<Message> {
-- 
cgit