Skip to content
Snippets Groups Projects
Commit d739e867 authored by Nikolay Volf's avatar Nikolay Volf Committed by Bastian Köcher
Browse files

fix ambiguity about start in doc (#3864)

parent 8117ba6b
No related merge requests found
......@@ -171,7 +171,7 @@ pub struct Instance<T> {
impl<T> Instance<T> {
/// Instantiate a module with the given [`EnvironmentDefinitionBuilder`]. It will
/// run the `start` function with the given `state`.
/// run the `start` function (if it is present in the module) with the given `state`.
///
/// Returns `Err(Error::Module)` if this module can't be instantiated with the given
/// environment. If execution of `start` function generated a trap, then `Err(Error::Execution)` will
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment