diff --git a/examples/hello_2018/src/main.rs b/examples/hello_2018/src/main.rs index 6c02f8b8..7b54fe37 100644 --- a/examples/hello_2018/src/main.rs +++ b/examples/hello_2018/src/main.rs @@ -1,8 +1,7 @@ #![feature(plugin, decl_macro, proc_macro_non_items)] #![plugin(rocket_codegen)] -use rocket; -use rocket::routes; +use rocket::{self, routes}; #[cfg(test)] mod tests; diff --git a/examples/hello_2018/src/tests.rs b/examples/hello_2018/src/tests.rs index a13aa679..c94021ab 100644 --- a/examples/hello_2018/src/tests.rs +++ b/examples/hello_2018/src/tests.rs @@ -1,6 +1,4 @@ -use rocket; -use rocket::routes; -use rocket::local::Client; +use rocket::{self, routes, local::Client}; #[test] fn hello_world() {