summaryrefslogtreecommitdiffstats
path: root/src/input/event_provider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/event_provider.rs')
-rw-r--r--src/input/event_provider.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/input/event_provider.rs b/src/input/event_provider.rs
index 96685f1..477dbba 100644
--- a/src/input/event_provider.rs
+++ b/src/input/event_provider.rs
@@ -19,7 +19,6 @@ impl<FN: Fn() -> Result<Option<Event>> + Send + Sync + 'static> EventReaderFn fo
/// Errors if the Tui cannot read an event for any reason. In general this should not error, and
/// if this does generate an error, the Tui should be considered to be in a non-recoverable
/// state.
-#[inline]
pub(crate) fn read_event() -> Result<Option<Event>> {
if poll(Duration::from_millis(20)).unwrap_or(false) {
read()