mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-21 18:44:19 +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"))]
|
||||
#[allow(clippy::manual_async_fn)]
|
||||
fn get_telegram_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
|
||||
async {}
|
||||
}
|
||||
|
@ -126,6 +127,7 @@ impl RoyalnetInstance {
|
|||
}
|
||||
|
||||
#[cfg(not(feature = "service_brooch"))]
|
||||
#[allow(clippy::manual_async_fn)]
|
||||
fn get_brooch_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
|
||||
async {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue