Skip to content

Commit 90ed205

Browse files
wip
1 parent 25dc9ac commit 90ed205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soroban-sdk-macros/src/derive_event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn derive_event_inner<'a>(
211211
}
212212
impl<'a> #path::Topics for #topic_type_ident<'a> {}
213213
impl<'a> #path::IntoVal<#path::Env, #path::Vec<#path::Val>> for #topic_type_ident<'a> {
214-
fn into_val(&self, env: #path::Env) -> #path::Vec<#path::Val> {
214+
fn into_val(&self, env: &#path::Env) -> #path::Vec<#path::Val> {
215215
(#(#tuple_index_calls),*).into_val(env)
216216
}
217217
}

0 commit comments

Comments
 (0)