1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 19:34:24 +02:00

refactor: add dead_code allow to fix build warning

This commit is contained in:
Jake Stanger 2024-03-29 00:29:27 +00:00
parent 8e9db141f8
commit c7b6ee8bc0
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -98,6 +98,7 @@ pub enum Response {
}
#[derive(Debug)]
#[allow(dead_code)]
struct BroadcastChannel<T>(broadcast::Sender<T>, Arc<Mutex<broadcast::Receiver<T>>>);
impl<T> From<(broadcast::Sender<T>, broadcast::Receiver<T>)> for BroadcastChannel<T> {