Fix a typo.

Co-Authored-By: Peter Huene <peterhuene@protonmail.com>
This commit is contained in:
Marcin Mielniczuk
2020-01-17 22:27:37 +01:00
committed by GitHub
parent 3d29244203
commit 13afbd0bae

View File

@@ -77,7 +77,7 @@ impl StdinPoll {
// Wait for data to appear in stdin. // Wait for data to appear in stdin.
// If `fill_buf` returns any slice, then it means that either // If `fill_buf` returns any slice, then it means that either
// (a) there some data in stdout, if it's non-empty // (a) there some data in stdin, if it's non-empty
// (b) EOF was received, if it's empty // (b) EOF was received, if it's empty
// Linux returns `POLLIN` in both cases, and we imitate this behavior. // Linux returns `POLLIN` in both cases, and we imitate this behavior.
let resp = match std::io::stdin().lock().fill_buf() { let resp = match std::io::stdin().lock().fill_buf() {