mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 19:14:20 +00:00
Remove unit return type
This commit is contained in:
parent
7d915b7db5
commit
cfef41d92c
1 changed files with 2 additions and 6 deletions
|
@ -86,10 +86,8 @@ impl RoyalnetInstance {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "service_telegram"))]
|
#[cfg(not(feature = "service_telegram"))]
|
||||||
async fn setup_telegram_service() -> () {
|
async fn setup_telegram_service() {
|
||||||
log::warn!("Telegram service is not compiled in.");
|
log::warn!("Telegram service is not compiled in.");
|
||||||
|
|
||||||
()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "service_telegram")]
|
#[cfg(feature = "service_telegram")]
|
||||||
|
@ -119,10 +117,8 @@ impl RoyalnetInstance {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "service_brooch"))]
|
#[cfg(not(feature = "service_brooch"))]
|
||||||
async fn setup_brooch_service() -> () {
|
async fn setup_brooch_service() {
|
||||||
log::warn!("Brooch service is not compiled in.");
|
log::warn!("Brooch service is not compiled in.");
|
||||||
|
|
||||||
()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "service_brooch")]
|
#[cfg(feature = "service_brooch")]
|
||||||
|
|
Loading…
Reference in a new issue