Skip to content

Commit 3a8f025

Browse files
committed
maybe fix windows
1 parent e52a668 commit 3a8f025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shell/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ impl ShellPipeReader {
283283
use std::os::windows::io::AsHandle;
284284
use std::os::windows::io::FromRawHandle;
285285
use std::os::windows::io::IntoRawHandle;
286-
let owned = io::stdin().as_handle().try_clone_to_owned().unwrap();
286+
let owned = std::io::stdin().as_handle().try_clone_to_owned().unwrap();
287287
let raw = owned.into_raw_handle();
288288
// SAFETY: `raw` is a fresh, owned HANDLE; PipeReader will close it.
289289
unsafe { std::io::PipeReader::from_raw_handle(raw) }

0 commit comments

Comments
 (0)