about summary refs log tree commit diff
path: root/src/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.rs b/src/util.rs
index 4ee4c4e..294375f 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -39,11 +39,11 @@
 // without this exception; this exception also makes it possible to
 // release a modified version which carries forward this exception.
 
-use std::io::prelude::*;
-use std::io::{ErrorKind, self};
+use libc::{gethostname, _SC_HOST_NAME_MAX};
 use std::ffi::OsString;
+use std::io::prelude::*;
+use std::io::{self, ErrorKind};
 use std::os::unix::prelude::*;
-use libc::{gethostname, _SC_HOST_NAME_MAX};
 
 pub fn copy_stream(src: &mut dyn Read, dst: &mut dyn Write) -> io::Result<()> {
     let mut buf = vec![0; 65536];