diff options
| author | joboet <jonasboettiger@icloud.com> | 2022-11-14 14:25:44 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2022-11-14 14:25:44 +0100 |
| commit | c66494474cc64aaf4f1e51b428d53e7dcbd14c25 (patch) | |
| tree | 4febee9e99bfbd8339df2f6d9a96783dfff557ed /library/std/src/io/stdio.rs | |
| parent | 96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef (diff) | |
| download | rust-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.rs | 3 |
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>>>; |
