From fd13a7f1899922e60a25a8504b39c50d6c2e78f8 Mon Sep 17 00:00:00 2001 From: DTB Date: Mon, 29 Jul 2024 14:43:21 -0600 Subject: [PATCH] swab(1): fix imports to be consistent --- src/swab.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/swab.rs b/src/swab.rs index dd63587..f4abc9d 100644 --- a/src/swab.rs +++ b/src/swab.rs @@ -24,12 +24,11 @@ use std::{ }; extern crate getopt; -use getopt::GetOpt; - extern crate sysexits; -use sysexits::{ EX_IOERR, EX_OK, EX_USAGE }; - extern crate strerror; + +use getopt::GetOpt; +use sysexits::{ EX_IOERR, EX_OK, EX_USAGE }; use strerror::StrError; fn err(s: &str, e: Error) { eprintln!("{}: {}", s, e.strerror()); }