Fix breakage due to write_lock()

This commit is contained in:
J Henry Waugh
2020-08-06 18:36:15 -05:00
parent 6475e4e20e
commit be315aebaf
5 changed files with 10 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ pub(crate) fn generate_body(
let mut gen_fn_tokens: Vec<proc_macro2::TokenStream> = Vec::new();
for function in fns {
let fn_token_name = syn::Ident::new(
&format!("{}_Token", function.name().to_string()),
&format!("{}_token", function.name().to_string()),
function.name().span(),
);
let fn_literal =