Fixed linting

This commit is contained in:
Syrus Akbary
2021-11-25 13:02:57 +01:00
parent c6d2a08d0d
commit d848a430cf

View File

@@ -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 {