From 13afbd0bae4d443107ef279c14b3270e669fae5d Mon Sep 17 00:00:00 2001 From: Marcin Mielniczuk Date: Fri, 17 Jan 2020 22:27:37 +0100 Subject: [PATCH] Fix a typo. Co-Authored-By: Peter Huene --- crates/wasi-common/src/sys/windows/hostcalls_impl/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasi-common/src/sys/windows/hostcalls_impl/misc.rs b/crates/wasi-common/src/sys/windows/hostcalls_impl/misc.rs index 4837003ec9..1e2db73404 100644 --- a/crates/wasi-common/src/sys/windows/hostcalls_impl/misc.rs +++ b/crates/wasi-common/src/sys/windows/hostcalls_impl/misc.rs @@ -77,7 +77,7 @@ impl StdinPoll { // Wait for data to appear in stdin. // 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 // Linux returns `POLLIN` in both cases, and we imitate this behavior. let resp = match std::io::stdin().lock().fill_buf() {