1
Fork 0

Rename ProcMacroDerive as DeriveProcMacro.

So it matches the existing `AttrProcMacro` and `BangProcMacro` types.
This commit is contained in:
Nicholas Nethercote 2022-05-16 11:56:36 +10:00
parent dbdc7dd0dc
commit bc70d0db92
2 changed files with 4 additions and 4 deletions

View file

@ -72,11 +72,11 @@ impl base::AttrProcMacro for AttrProcMacro {
}
}
pub struct ProcMacroDerive {
pub struct DeriveProcMacro {
pub client: pm::bridge::client::Client<fn(pm::TokenStream) -> pm::TokenStream>,
}
impl MultiItemModifier for ProcMacroDerive {
impl MultiItemModifier for DeriveProcMacro {
fn expand(
&self,
ecx: &mut ExtCtxt<'_>,