Remove unused imports and extern crate (#5245)

This commit is contained in:
Kian Paimani
2020-03-14 12:48:47 +01:00
committed by GitHub
parent 74f8db5def
commit 7e2cd0edee
11 changed files with 19 additions and 21 deletions
@@ -17,7 +17,6 @@
//! Macros for declaring and implementing runtime apis.
#![recursion_limit = "512"]
extern crate proc_macro;
use proc_macro::TokenStream;
@@ -31,8 +31,6 @@
//! assert_eq!(format!("{:?}", MyStruct), "MyStruct");
//! ```
extern crate proc_macro;
mod impls;
use proc_macro::TokenStream;
@@ -25,8 +25,6 @@
//! 3. The [`PassByEnum`](derive.PassByInner.html) derive macro for implementing `PassBy` with `Enum`.
//! 4. The [`PassByInner`](derive.PassByInner.html) derive macro for implementing `PassBy` with `Inner`.
extern crate proc_macro;
use syn::{parse_macro_input, ItemTrait, DeriveInput};
mod pass_by;
@@ -17,7 +17,6 @@
//! Macros for declaring and implementing runtime apis.
#![recursion_limit = "512"]
extern crate proc_macro;
use proc_macro::TokenStream;