mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-03 11:18:31 +00:00
Fix &mut env in migration docs
This commit is contained in:
@@ -222,7 +222,7 @@ struct Env {
|
||||
counter: Arc<RefCell<i32>>,
|
||||
}
|
||||
|
||||
fn get_counter(env: &mut Env) -> i32 {
|
||||
fn get_counter(env: &Env) -> i32 {
|
||||
*env.counter.borrow()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user