about summary refs log tree commit diff
path: root/library/std/src/io/stdio.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2022-11-14 14:25:44 +0100
committerjoboet <jonasboettiger@icloud.com>2022-11-14 14:25:44 +0100
commitc66494474cc64aaf4f1e51b428d53e7dcbd14c25 (patch)
tree4febee9e99bfbd8339df2f6d9a96783dfff557ed /library/std/src/io/stdio.rs
parent96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef (diff)
downloadrust-c66494474cc64aaf4f1e51b428d53e7dcbd14c25.tar.gz
rust-c66494474cc64aaf4f1e51b428d53e7dcbd14c25.zip
std: move `ReentrantMutex` to `sync`
Diffstat (limited to 'library/std/src/io/stdio.rs')
-rw-r--r--library/std/src/io/stdio.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs
index 1141a957d87..14bfef4c7aa 100644
--- a/library/std/src/io/stdio.rs
+++ b/library/std/src/io/stdio.rs
@@ -10,9 +10,8 @@ use crate::fmt;
 use crate::fs::File;
 use crate::io::{self, BufReader, IoSlice, IoSliceMut, LineWriter, Lines};
 use crate::sync::atomic::{AtomicBool, Ordering};
-use crate::sync::{Arc, Mutex, MutexGuard, OnceLock};
+use crate::sync::{Arc, Mutex, MutexGuard, OnceLock, ReentrantMutex, ReentrantMutexGuard};
 use crate::sys::stdio;
-use crate::sys_common::remutex::{ReentrantMutex, ReentrantMutexGuard};
 
 type LocalStream = Arc<Mutex<Vec<u8>>>;