1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-10-16 06:27:27 +00:00

Allow clippy::manual_async_fn for get_*_future methods

This commit is contained in:
Steffo 2024-08-19 07:36:51 +02:00
parent 111e474411
commit b476a77fad
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -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 {}
}