mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 10:41:03 +02:00
refactor: add dead_code allow to fix build warning
This commit is contained in:
parent
8e9db141f8
commit
c7b6ee8bc0
1 changed files with 1 additions and 0 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue