Not dead code
This commit is contained in:
parent
d0fe2f6450
commit
c7eb1cde55
@ -89,7 +89,7 @@ impl EventReceiver {
|
||||
Ok(self.receiver.recv()?)
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[cfg(test)]
|
||||
pub fn try_recv(&self) -> Result<Event, EventError> {
|
||||
Ok(self.receiver.try_recv()?)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user