aboutsummaryrefslogtreecommitdiff
path: root/macros/src/trans.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/trans.rs')
-rw-r--r--macros/src/trans.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/trans.rs b/macros/src/trans.rs
index 4d51840f..ef224c19 100644
--- a/macros/src/trans.rs
+++ b/macros/src/trans.rs
@@ -50,8 +50,8 @@ fn idle(
.iter()
.all(|resource| ownerships[resource].is_owned())
{
- tys.push(quote!(#krate::Threshold));
- exprs.push(quote!(unsafe { #krate::Threshold::new(0) }));
+ tys.push(quote!(&mut #krate::Threshold));
+ exprs.push(quote!(unsafe { &mut #krate::Threshold::new(0) }));
}
if !app.idle.locals.is_empty() {