diff --git a/lib/api/src/js/instance.rs b/lib/api/src/js/instance.rs index 25bf120c8..6d1b32053 100644 --- a/lib/api/src/js/instance.rs +++ b/lib/api/src/js/instance.rs @@ -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 {