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)
|
||||
//! </pre>
|
||||
|
||||
#[allow(unused_extern_crates)]
|
||||
extern crate proc_macro;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
//! ```
|
||||
|
||||
#[macro_use] extern crate quote;
|
||||
extern crate proc_macro;
|
||||
#[allow(unused_extern_crates)] extern crate proc_macro;
|
||||
|
||||
use rocket_http as http;
|
||||
|
||||
|
|
Loading…
Reference in New Issue