mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 22:18:00 +00:00
fix ambiguity about start in doc (#3864)
This commit is contained in:
committed by
Bastian Köcher
parent
8117ba6b31
commit
d739e86798
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user