Repository: cristianoliveira/funzzy (language: rust)

Issue:
Style: fix warnings
Today we have a bunch of warning that shows on the compilation. Would be nice to fix them.

```
warning: unused import: `std::process::*;`
 --> src/cmd.rs:3:5
  |
3 | use std::process::*;
  |     ^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

warning: unused extern crate
 --> src/lib.rs:4:1
  |
4 | extern crate rustc_serialize;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unused_extern_crates)] on by default

warning: unused extern crate
 --> src/lib.rs:5:1
  |
5 | extern crate docopt;
  | ^^^^^^^^^^^^^^^^^^^^

warning: unused extern crate
 --> src/cli/watch.rs:2:1
  |
2 | extern crate glob;
  | ^^^^^^^^^^^^^^^^^^

warning: unused extern crate
 --> src/yaml.rs:2:1
  |
2 | extern crate glob;
  | ^^^^^^^^^^^^^^^^^^

warning: unused import: `std::process::*;`
 --> src/cmd.rs:3:5
  |
3 | use std::process::*;
  |     ^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

warning: unused extern crate
 --> src/cli/watch.rs:2:1
  |
2 | extern crate glob;
  | ^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unused_extern_crates)] on by default

warning: unused extern crate
 --> src/yaml.rs:2:1
  |
2 | extern crate glob;
  | ^^^^^^^^^^^^^^^^^^

    Finished dev [unoptimized + debuginfo] target(s) in 24.30 secs
```


Discussion / hints:

Fix patch:
diff --git a/src/cli/watch.rs b/src/cli/watch.rs
index 23e34b4..8077ce0 100644
--- a/src/cli/watch.rs
+++ b/src/cli/watch.rs
@@ -1,5 +1,4 @@
 extern crate notify;
-extern crate glob;
 
 use std::process::Command as ShellCommand;
 use std::sync::mpsc::channel;
diff --git a/src/cmd.rs b/src/cmd.rs
index ab19011..f2e5f31 100644
--- a/src/cmd.rs
+++ b/src/cmd.rs
@@ -1,6 +1,5 @@
 use std::process::Command;
 use std::error::Error;
-use std::process::*;
 
 fn command_parser(command: String) -> Vec<Command> {
     let mut commands = vec![];
diff --git a/src/lib.rs b/src/lib.rs
index 2f36f88..9270bb4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,9 +1,5 @@
 // #![feature(plugin)]
 // #![plugin(clippy)]
-
-extern crate rustc_serialize;
-extern crate docopt;
-
 pub mod cli;
 pub mod yaml;
 pub mod rules;
diff --git a/src/yaml.rs b/src/yaml.rs
index 81b8083..30b47b0 100644
--- a/src/yaml.rs
+++ b/src/yaml.rs
@@ -1,5 +1,4 @@
 extern crate yaml_rust;
-extern crate glob;
 
 use self::yaml_rust::Yaml;
 


Test patch: