Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit d2abbe72e031eff3c37cd539b797fdb6010e5934
parent 7926ffd6f0a107e54ae57b40a59527a9bdbfd98f
Author: Sergio Benitez <sb@sergio.bz>
Date:   Sun, 16 Sep 2018 20:28:24 -0700

Merge 'use's in 'hello_2018' example.

Diffstat:
Mexamples/hello_2018/src/main.rs | 3+--
Mexamples/hello_2018/src/tests.rs | 4+---
2 files changed, 2 insertions(+), 5 deletions(-)

diff --git 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 @@ -1,6 +1,4 @@ -use rocket; -use rocket::routes; -use rocket::local::Client; +use rocket::{self, routes, local::Client}; #[test] fn hello_world() {