Update event.rs (#479)

This commit is contained in:
hagsteel 2020-09-08 08:40:56 +02:00 committed by GitHub
parent 7732861e4d
commit 53afe55612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ pub fn read() -> Result<Event> {
} }
} }
/// Polls to check if there are any `InternalEvent`s that can be read withing the given duration. /// Polls to check if there are any `InternalEvent`s that can be read within the given duration.
pub(crate) fn poll_internal<F>(timeout: Option<Duration>, filter: &F) -> Result<bool> pub(crate) fn poll_internal<F>(timeout: Option<Duration>, filter: &F) -> Result<bool>
where where
F: Filter, F: Filter,