Skip to content

Commit

Permalink
Update macros/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tomas Zemanovic <[email protected]>
  • Loading branch information
sug0 and tzemanovic authored Dec 20, 2022
1 parent 6612ed8 commit 63a4fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ pub fn derive_storage_keys(item: TokenStream) -> TokenStream {

idents.sort();

let ident_list = create_ponctuated(&idents, |ident| ident.clone());
let values_list = create_ponctuated(&idents, |ident| {
let ident_list = create_punctuated(&idents, |ident| ident.clone());
let values_list = create_punctuated(&idents, |ident| {
let storage_key = {
let mut toks = TokenStream2::new();
ident.to_tokens(&mut toks);
Expand Down

0 comments on commit 63a4fea

Please sign in to comment.