mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 02:54:21 +00:00
Allow clippy::manual_async_fn
for get_*_future
methods
This commit is contained in:
parent
111e474411
commit
b476a77fad
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,7 @@ impl RoyalnetInstance {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "service_telegram"))]
|
#[cfg(not(feature = "service_telegram"))]
|
||||||
|
#[allow(clippy::manual_async_fn)]
|
||||||
fn get_telegram_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
|
fn get_telegram_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
|
||||||
async {}
|
async {}
|
||||||
}
|
}
|
||||||
|
@ -126,6 +127,7 @@ impl RoyalnetInstance {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "service_brooch"))]
|
#[cfg(not(feature = "service_brooch"))]
|
||||||
|
#[allow(clippy::manual_async_fn)]
|
||||||
fn get_brooch_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
|
fn get_brooch_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
|
||||||
async {}
|
async {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue