mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-03 03:08:22 +00:00
Update docs/migration_to_3.0.0.md
This commit is contained in:
@@ -66,7 +66,6 @@ let env = FunctionEnv::new(&mut store, my_counter);
|
||||
Any type can be passed as the environment: (*Nota bene* the passed type `T` must implement the `Any` trait, that is, any type which contains a non-`'static` reference.)
|
||||
|
||||
```rust
|
||||
#[derive(Clone)]
|
||||
struct Env {
|
||||
counter: i32,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user