mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 05:12:40 +03:00
Docs change Duration::new(0, 0) to Duration::ZERO
This commit is contained in:
parent
29995c7cb3
commit
84007274cf
@ -83,8 +83,8 @@ pub trait Terminal {
|
||||
/// will not return until an event is available. If wait is
|
||||
/// `Some(duration)` then `poll_input` will wait up to the given
|
||||
/// duration for an event before returning with a value of
|
||||
/// `Ok(None)`. If wait is `Some(Duration::new(0, 0))` then
|
||||
/// the poll is non-blocking.
|
||||
/// `Ok(None)`. If wait is `Some(Duration::ZERO)` then the
|
||||
/// poll is non-blocking.
|
||||
///
|
||||
/// The possible values returned as `InputEvent`s depend on the
|
||||
/// mode of the terminal. Most values are not returned unless
|
||||
|
Loading…
Reference in New Issue
Block a user