clippy fix
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
//! The ticker knows nothing about the app's `Message` type; it produces
|
||||
//! protocol wires from `common` that core routes to subscribers.
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
use chrono::{DateTime, Local, Timelike};
|
||||
use iced::futures::{channel::mpsc, SinkExt};
|
||||
|
||||
@@ -29,7 +29,7 @@ impl WeatherService {
|
||||
let mut _rx = inbox.take().expect("cant take");
|
||||
|
||||
iced::stream::channel(0, move |mut sender: mpsc::Sender<Wire>| async move {
|
||||
let mut weather = WeatherService::new();
|
||||
let weather = WeatherService::new();
|
||||
let mut interval = interval(Duration::from_mins(30));
|
||||
tracing::info!(key = key, "weather service started");
|
||||
loop {
|
||||
|
||||
Reference in New Issue
Block a user