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() {