diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-19 17:43:13 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-19 17:43:25 -0500 |
commit | 0be734a6d7154573d8e570980f0af27ac5cb8190 (patch) | |
tree | 76789bee4f068ba000a13921ae5caec0a8c4cabe /src/main.rs | |
parent | 348ef3c36115ac7060f141c27157b6b2f5c91f37 (diff) |
rust 2018 and clippy
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.rs b/src/main.rs index 7c6efdd..9287ce1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,10 +1,3 @@ -#[macro_use] -extern crate lazy_static; -#[macro_use] -extern crate serde_derive; -extern crate structopt; -extern crate xdg; - mod commands; mod config; mod context; @@ -19,6 +12,7 @@ mod ui; mod unix; mod window; +use lazy_static::lazy_static; use std::path::PathBuf; use structopt::StructOpt; |