How to use affix state and mutable session togeather #723
Replies: 1 comment 1 reply
-
You can use This is not salvo's bug, just rust rule restriction. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having problem using both mutable session from depot, and obtaining state from depot.
I am new to rust, so this might be silly.
here is e.g. code
When using above code, rust borrow checker gives error.
I need session to be mutable.
Beta Was this translation helpful? Give feedback.
All reactions