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:
parent
daecc56d47
commit
15722e3ace
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue