mirror of https://github.com/rwf2/Rocket.git
Silence warnings on 'extern crate proc_macro'.
This commit is contained in:
parent
e1a3d2b6e8
commit
63a4ae0485
|
@ -26,6 +26,7 @@
|
||||||
//! DATABASE_NAME := (string literal)
|
//! DATABASE_NAME := (string literal)
|
||||||
//! </pre>
|
//! </pre>
|
||||||
|
|
||||||
|
#[allow(unused_extern_crates)]
|
||||||
extern crate proc_macro;
|
extern crate proc_macro;
|
||||||
|
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#[macro_use] extern crate quote;
|
#[macro_use] extern crate quote;
|
||||||
extern crate proc_macro;
|
#[allow(unused_extern_crates)] extern crate proc_macro;
|
||||||
|
|
||||||
use rocket_http as http;
|
use rocket_http as http;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue