summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornickelc <constantin.nickel@gmail.com>2023-04-26 17:01:54 +0200
committerGitHub <noreply@github.com>2023-04-26 11:01:54 -0400
commitd89b357ad3f28075d835280ab376d3351eefe7a0 (patch)
tree457b9b5ce7f8bd5ec64f0c83e33c867f3056688a
parent37970bd034682579374ebeb8525e597c1e53d130 (diff)
Remove unneeded `extern crate` statements (#1345)
-rw-r--r--src/main.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index a8a08c17..72586939 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,8 +1,3 @@
-extern crate bitflags;
-
-#[macro_use]
-extern crate error_chain;
-
mod align;
mod ansi;
mod cli;
@@ -54,7 +49,7 @@ where
}
pub mod errors {
- error_chain! {
+ error_chain::error_chain! {
foreign_links {
Io(::std::io::Error);
SyntectError(::syntect::LoadingError);