mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-02 18:01:05 +00:00
style: move unix-specific imports into unix section
This commit is contained in:
parent
f986415ef7
commit
6377b4f502
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::io;
|
||||
use std::sync::{Mutex, Once};
|
||||
use std::{io, thread};
|
||||
|
||||
use once_cell::sync::Lazy;
|
||||
use slab::Slab;
|
||||
|
@ -56,6 +55,8 @@ mod platform {
|
|||
use std::os::unix::io::{IntoRawFd as _, RawFd};
|
||||
use std::os::unix::net::UnixDatagram;
|
||||
use std::panic::AssertUnwindSafe;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::thread;
|
||||
|
||||
use libc::{c_int, SIGINT, SIGTERM};
|
||||
|
||||
|
|
Loading…
Reference in a new issue