From 80bfd171e920e89199e76ecd905497de89cd8642 Mon Sep 17 00:00:00 2001 From: "kody.low" Date: Mon, 18 Sep 2023 08:17:58 -0700 Subject: [PATCH] fix: remove implied bounds entailment --- moksha-mint/src/lightning.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/moksha-mint/src/lightning.rs b/moksha-mint/src/lightning.rs index 1f376f0a..55088978 100644 --- a/moksha-mint/src/lightning.rs +++ b/moksha-mint/src/lightning.rs @@ -1,5 +1,4 @@ use async_trait::async_trait; -// use serde_derive::{Deserialize, Serialize}; use std::fmt::{self, Formatter}; use tokio::sync::{MappedMutexGuard, Mutex, MutexGuard}; use tonic_lnd::Client; @@ -41,7 +40,6 @@ impl fmt::Display for LightningType { } #[cfg_attr(test, automock)] -#[allow(implied_bounds_entailment)] #[async_trait] pub trait Lightning: Send + Sync { async fn is_invoice_paid(&self, invoice: String) -> Result; @@ -97,7 +95,6 @@ impl LnbitsLightningSettings { } } -#[allow(implied_bounds_entailment)] #[async_trait] impl Lightning for LnbitsLightning { async fn is_invoice_paid(&self, invoice: String) -> Result { @@ -165,7 +162,6 @@ impl AlbyLightning { } } -#[allow(implied_bounds_entailment)] #[async_trait] impl Lightning for AlbyLightning { async fn is_invoice_paid(&self, invoice: String) -> Result { @@ -233,7 +229,6 @@ impl StrikeLightning { } } -#[allow(implied_bounds_entailment)] #[async_trait] impl Lightning for StrikeLightning { async fn is_invoice_paid(&self, invoice: String) -> Result {