Skip to content

Commit 5446955

Browse files
committed
fix location of pipe module
1 parent 96788aa commit 5446955

File tree

1 file changed

+3
-2
lines changed
  • src/tools/miri/tests/pass/shims

1 file changed

+3
-2
lines changed

Diff for: src/tools/miri/tests/pass/shims/pipe.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
//@ignore-target: windows
22

33
#![feature(anonymous_pipe)]
4-
use std::io::{Read, Write};
4+
5+
use std::io::{Read, Write, pipe};
56

67
fn main() {
7-
let (mut ping_rx, mut ping_tx) = std::pipe::pipe().unwrap();
8+
let (mut ping_rx, mut ping_tx) = pipe().unwrap();
89
ping_tx.write(b"hello").unwrap();
910
let mut buf: [u8; 5] = [0; 5];
1011
ping_rx.read(&mut buf).unwrap();

0 commit comments

Comments
 (0)