cleanup use statements

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-08-05 14:12:49 +02:00
parent f074a9e60b
commit 4c9a8b5c88
3 changed files with 13 additions and 12 deletions

View File

@ -1,14 +1,15 @@
use failure::*;
use std::u32;
use std::collections::HashSet;
use std::fs::OpenOptions;
use std::io::{BufRead, BufReader};
use std::collections::HashSet;
use std::net::{Ipv4Addr, Ipv6Addr};
use proxmox_tools::fs::file_read_firstline;
use std::u32;
use failure::*;
use lazy_static::lazy_static;
use regex::Regex;
use libc;
use regex::Regex;
use proxmox_tools::fs::file_read_firstline;
/// POSIX sysconf call
pub fn sysconf(name: i32) -> i64 {

View File

@ -1,12 +1,12 @@
use failure::*;
use std::path::Path;
use std::io::{Write, BufRead, BufReader};
use std::fs::File;
use std::io::{BufRead, BufReader, Write};
use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
use std::path::Path;
use serde_json::Value;
use nix::unistd;
use failure::{bail, format_err, Error};
use nix::sys::stat;
use nix::unistd;
use serde_json::Value;
use super::try_block;

View File

@ -4,9 +4,9 @@ use failure::*;
use lazy_static::lazy_static;
pub mod common_regex;
pub mod io;
pub mod fd;
pub mod fs;
pub mod io;
pub mod serde;
pub mod vec;