Skip to content

Commit 6983e01

Browse files
committed
fix location of pipe module
1 parent e657e7a commit 6983e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pass/shims/pipe.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//@ignore-target: windows
22

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

66
fn main() {
7-
let (mut ping_rx, mut ping_tx) = std::pipe::pipe().unwrap();
7+
let (mut ping_rx, mut ping_tx) = pipe::pipe().unwrap();
88
ping_tx.write(b"hello").unwrap();
99
let mut buf: [u8; 5] = [0; 5];
1010
ping_rx.read(&mut buf).unwrap();

0 commit comments

Comments
 (0)