We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e52a668 commit 3a8f025Copy full SHA for 3a8f025
src/shell/types.rs
@@ -283,7 +283,7 @@ impl ShellPipeReader {
283
use std::os::windows::io::AsHandle;
284
use std::os::windows::io::FromRawHandle;
285
use std::os::windows::io::IntoRawHandle;
286
- let owned = io::stdin().as_handle().try_clone_to_owned().unwrap();
+ let owned = std::io::stdin().as_handle().try_clone_to_owned().unwrap();
287
let raw = owned.into_raw_handle();
288
// SAFETY: `raw` is a fresh, owned HANDLE; PipeReader will close it.
289
unsafe { std::io::PipeReader::from_raw_handle(raw) }
0 commit comments