Merge 'use's in 'hello_2018' example.

This commit is contained in:
Sergio Benitez 2018-09-16 20:28:24 -07:00
parent 7926ffd6f0
commit d2abbe72e0
2 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,7 @@
#![feature(plugin, decl_macro, proc_macro_non_items)] #![feature(plugin, decl_macro, proc_macro_non_items)]
#![plugin(rocket_codegen)] #![plugin(rocket_codegen)]
use rocket; use rocket::{self, routes};
use rocket::routes;
#[cfg(test)] mod tests; #[cfg(test)] mod tests;

View File

@ -1,6 +1,4 @@
use rocket; use rocket::{self, routes, local::Client};
use rocket::routes;
use rocket::local::Client;
#[test] #[test]
fn hello_world() { fn hello_world() {