1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

refactor/polish ~ fix cargo clippy complaints (unused imports)

This commit is contained in:
Roy Ivy III 2020-01-27 23:01:55 -06:00
parent daecc56d47
commit 15722e3ace
2 changed files with 6 additions and 3 deletions

View file

@ -14,12 +14,15 @@ extern crate termsize;
extern crate time; extern crate time;
extern crate unicode_width; extern crate unicode_width;
extern crate number_prefix; extern crate number_prefix;
extern crate isatty;
use isatty::stdout_isatty;
use number_prefix::{Standalone, Prefixed, decimal_prefix}; use number_prefix::{Standalone, Prefixed, decimal_prefix};
use term_grid::{Cell, Direction, Filling, Grid, GridOptions}; use term_grid::{Cell, Direction, Filling, Grid, GridOptions};
use time::{strftime, Timespec}; use time::{strftime, Timespec};
#[cfg(unix)]
extern crate isatty;
#[cfg(unix)]
use isatty::stdout_isatty;
#[cfg(unix)] #[cfg(unix)]
#[macro_use] #[macro_use]
extern crate lazy_static; extern crate lazy_static;

View file

@ -1,7 +1,7 @@
#[cfg(target_os = "linux")]
use common::util::*; use common::util::*;
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
#[test] #[test]
fn test_count() { fn test_count() {