about summary refs log tree commit diff
path: root/library/std/tests
diff options
context:
space:
mode:
authorJiahao XU <Jiahao_XU@outlook.com>2025-01-17 01:30:05 +1100
committerJiahao XU <Jiahao_XU@outlook.com>2025-01-17 01:30:05 +1100
commitefe888871c0b49ca9230649ea54b4d0f0bc62d25 (patch)
tree79eac14406cc687522324845965a8f38d28868f0 /library/std/tests
parentd8a64098c9d0fb25699f657c6efff0bb418f7e18 (diff)
Move `std::pipe::*` into `std::io`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Diffstat (limited to 'library/std/tests')
-rw-r--r--library/std/tests/pipe_subprocess.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/tests/pipe_subprocess.rs b/library/std/tests/pipe_subprocess.rs
index 1535742a83a..df946cdcf2b 100644
--- a/library/std/tests/pipe_subprocess.rs
+++ b/library/std/tests/pipe_subprocess.rs
@@ -3,8 +3,7 @@
 fn main() {
     #[cfg(all(not(miri), any(unix, windows)))]
     {
-        use std::io::Read;
-        use std::pipe::pipe;
+        use std::io::{Read, pipe};
         use std::{env, process};
 
         if env::var("I_AM_THE_CHILD").is_ok() {