mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 21:28:21 +00:00
Fixed linting
This commit is contained in:
@@ -112,7 +112,7 @@ impl Instance {
|
||||
/// Is expected that the function [`Instance::init_envs`] is run manually
|
||||
/// by the user in case the instance has any Wasmer imports, so the function
|
||||
/// environments are properly initiated.
|
||||
///
|
||||
///
|
||||
/// *This method is only available when targeting JS environments*
|
||||
pub fn from_module_and_instance(
|
||||
module: &Module,
|
||||
@@ -152,7 +152,7 @@ impl Instance {
|
||||
/// This method should be called if the Wasmer `Instance` is initialized
|
||||
/// from Javascript with an already existing `WebAssembly.Instance` but with
|
||||
/// a imports from the Rust side.
|
||||
///
|
||||
///
|
||||
/// *This method is only available when targeting JS environments*
|
||||
pub fn init_envs(&self, imports: &[Export]) -> Result<(), InstantiationError> {
|
||||
for import in imports {
|
||||
|
||||
Reference in New Issue
Block a user