1
Fork 0

Rename ProcMacro trait as BangProcMacro.

Similar to the existing `AttrProcMacro` trait.
This commit is contained in:
Nicholas Nethercote 2022-05-13 14:07:56 +10:00
parent 1a9514d5ce
commit dbdc7dd0dc
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ pub struct BangProcMacro {
pub client: pm::bridge::client::Client<fn(pm::TokenStream) -> pm::TokenStream>,
}
impl base::ProcMacro for BangProcMacro {
impl base::BangProcMacro for BangProcMacro {
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt<'_>,