swab(1): fix imports to be consistent
This commit is contained in:
parent
6c2b7b68fd
commit
fd13a7f189
@ -24,12 +24,11 @@ use std::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern crate getopt;
|
extern crate getopt;
|
||||||
use getopt::GetOpt;
|
|
||||||
|
|
||||||
extern crate sysexits;
|
extern crate sysexits;
|
||||||
use sysexits::{ EX_IOERR, EX_OK, EX_USAGE };
|
|
||||||
|
|
||||||
extern crate strerror;
|
extern crate strerror;
|
||||||
|
|
||||||
|
use getopt::GetOpt;
|
||||||
|
use sysexits::{ EX_IOERR, EX_OK, EX_USAGE };
|
||||||
use strerror::StrError;
|
use strerror::StrError;
|
||||||
|
|
||||||
fn err(s: &str, e: Error) { eprintln!("{}: {}", s, e.strerror()); }
|
fn err(s: &str, e: Error) { eprintln!("{}: {}", s, e.strerror()); }
|
||||||
|
Loading…
Reference in New Issue
Block a user