swab(1): fix imports to be consistent

This commit is contained in:
dtb 2024-07-29 14:43:21 -06:00
parent 6c2b7b68fd
commit fd13a7f189
Signed by: trinity
GPG Key ID: 34C0543BBB6AF81B

View File

@ -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()); }