src: main: Remove useless return statement
This commit is contained in:
@@ -68,8 +68,6 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
debug!("Sending msg {}", msg);
|
debug!("Sending msg {}", msg);
|
||||||
//XXX: Panic if the matrix module can't get the message
|
//XXX: Panic if the matrix module can't get the message
|
||||||
bcast_tx.send((msg.into(), config.rooms.clone())).unwrap();
|
bcast_tx.send((msg.into(), config.rooms.clone())).unwrap();
|
||||||
|
|
||||||
()
|
|
||||||
}).await.unwrap(); //XXX: Panic if the mqtt broker fails
|
}).await.unwrap(); //XXX: Panic if the mqtt broker fails
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user