From 31472fbb5a6417ea3d9eb10417ff5ea49712998a Mon Sep 17 00:00:00 2001 From: data-pup Date: Tue, 17 Dec 2019 16:24:18 -0500 Subject: [PATCH] fix module environment doc typos (#732) --- crates/environ/src/module_environ.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/environ/src/module_environ.rs b/crates/environ/src/module_environ.rs index e84dd4b85f..9173d35a73 100644 --- a/crates/environ/src/module_environ.rs +++ b/crates/environ/src/module_environ.rs @@ -58,7 +58,7 @@ pub struct ModuleEnvironment<'data> { } impl<'data> ModuleEnvironment<'data> { - /// Allocates the enironment data structures. + /// Allocates the environment data structures. pub fn new(target_config: TargetFrontendConfig, tunables: Tunables) -> Self { Self { result: ModuleTranslation { @@ -87,7 +87,7 @@ impl<'data> ModuleEnvironment<'data> { } /// This trait is useful for `translate_module` because it tells how to translate -/// enironment-dependent wasm instructions. These functions should not be called by the user. +/// environment-dependent wasm instructions. These functions should not be called by the user. impl<'data> cranelift_wasm::ModuleEnvironment<'data> for ModuleEnvironment<'data> { fn target_config(&self) -> TargetFrontendConfig { self.result.target_config