mirror of https://github.com/rwf2/Rocket.git
Merge 'use's in 'hello_2018' example.
This commit is contained in:
parent
7926ffd6f0
commit
d2abbe72e0
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue