style: 💄 fix linting issues

This commit is contained in:
Lucas Colombo 2024-05-21 01:06:34 -03:00
parent 9625e32bbd
commit 173e96b5c5
Signed by: lucas
GPG Key ID: EF34786CFEFFAE35
2 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,6 @@
use std::{convert::Infallible, fmt::Debug}; use std::{convert::Infallible, fmt::Debug};
use eyre::Result; use {eyre::Result, rxrust::ops::box_it::CloneableBoxOpThreads, tonic::async_trait};
use rxrust::ops::box_it::CloneableBoxOpThreads;
use tonic::async_trait;
pub mod redis; pub mod redis;

View File

@ -95,7 +95,7 @@ where
info!("Starting rustlers"); info!("Starting rustlers");
let markets = self.market_svc.get_all_with_tickers().await?; let markets = self.market_svc.get_all_with_tickers().await?;
if markets.len() > 0 { if !markets.is_empty() {
let (sender, mut receiver) = tokio::sync::mpsc::channel(100); let (sender, mut receiver) = tokio::sync::mpsc::channel(100);
for (market, tickers) in markets { for (market, tickers) in markets {