Not dead code

This commit is contained in:
Wojciech Kozlowski 2024-09-08 08:59:00 +02:00
parent d0fe2f6450
commit c7eb1cde55

View File

@ -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()?)
}