Skip to content

Commit b476a77

Browse files
committed
Allow clippy::manual_async_fn for get_*_future methods
1 parent 111e474 commit b476a77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/instance/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ impl RoyalnetInstance {
9595
}
9696

9797
#[cfg(not(feature = "service_telegram"))]
98+
#[allow(clippy::manual_async_fn)]
9899
fn get_telegram_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
99100
async {}
100101
}
@@ -126,6 +127,7 @@ impl RoyalnetInstance {
126127
}
127128

128129
#[cfg(not(feature = "service_brooch"))]
130+
#[allow(clippy::manual_async_fn)]
129131
fn get_brooch_future(_service: &mut ()) -> impl Future<Output = ()> + '_ {
130132
async {}
131133
}

0 commit comments

Comments
 (0)