Skip to content

Commit 3e37e92

Browse files
committed
Ignore drained_tx unused warning
1 parent c5faa37 commit 3e37e92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/drain.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ pub struct Draining {
3535
}
3636

3737
#[derive(Clone)]
38+
// drained_tx is never ready
39+
#[allow(dead_code)]
3840
pub struct Watch {
3941
drained_tx: mpsc::Sender<Never>,
4042
rx: watch::Receiver<Action>,

0 commit comments

Comments
 (0)