mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Fix a hygiene issue with me
This commit is contained in:
parent
ac1acf55ac
commit
d38a448f15
@ -317,7 +317,7 @@ impl ToTokens for Receiver {
|
||||
name.to_tokens(tokens);
|
||||
}
|
||||
Receiver::StructMethod(_, mutable, name) => {
|
||||
syn::Ident::from("me").to_tokens(tokens);
|
||||
(my_quote! { me }).to_tokens(tokens);
|
||||
syn::tokens::Dot::default().to_tokens(tokens);
|
||||
if mutable {
|
||||
syn::Ident::from("borrow_mut").to_tokens(tokens);
|
||||
|
Loading…
x
Reference in New Issue
Block a user