1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-22 11:04:21 +00:00

Remove unit return type

This commit is contained in:
Steffo 2024-08-19 07:32:32 +02:00
parent 7d915b7db5
commit cfef41d92c
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -86,10 +86,8 @@ impl RoyalnetInstance {
}
#[cfg(not(feature = "service_telegram"))]
async fn setup_telegram_service() -> () {
async fn setup_telegram_service() {
log::warn!("Telegram service is not compiled in.");
()
}
#[cfg(feature = "service_telegram")]
@ -119,10 +117,8 @@ impl RoyalnetInstance {
}
#[cfg(not(feature = "service_brooch"))]
async fn setup_brooch_service() -> () {
async fn setup_brooch_service() {
log::warn!("Brooch service is not compiled in.");
()
}
#[cfg(feature = "service_brooch")]