Skip to content

Commit

Permalink
Merge pull request #138 from wasmerio/doc-wasi-generate-import-object…
Browse files Browse the repository at this point in the history
…-from-env

doc(wasi) Fix documentation of `generate_import_object_from_env`
  • Loading branch information
syrusakbary authored Jul 2, 2020
2 parents e1897db + 711c8f5 commit bc161c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/wasi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ impl WasiEnv {
}
}

/// Create an [`ImportObject`] with an existing [`WasiState`]. [`WasiState`]
/// can be constructed from a [`WasiStateBuilder`](state::WasiStateBuilder).
/// Create an [`ImportObject`] with an existing [`WasiEnv`]. `WasiEnv`
/// needs a [`WasiState`], that can be constructed from a
/// [`WasiStateBuilder`](state::WasiStateBuilder).
pub fn generate_import_object_from_env(
store: &Store,
wasi_env: WasiEnv,
Expand Down

0 comments on commit bc161c8

Please sign in to comment.