From c5c28469bbf515fbeda1ad633d6f3cad2ef81a55 Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Sun, 26 Aug 2018 21:09:53 +0200 Subject: [PATCH] Fix extra word, remove mention of linear memory "space" --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 945e28a..104b7e0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ //! # wasmi //! -//! This library allows to load WebAssembly modules in binary format and invoke their functions them. +//! This library allows to load WebAssembly modules in binary format and invoke their functions. //! //! # Introduction //! @@ -10,12 +10,12 @@ //! //! - functions, //! - global variables, -//! - linear memory spaces and +//! - linear memory instances and //! - tables. //! //! Each of these definitions can be imported and exported. //! -//! In addition to these definitions, modules can define initialization data for their memory spaces or tables. This initialization data can take the +//! In addition to these definitions, modules can define initialization data for their memory or tables. This initialization data can take the //! form of segments, copied to given offsets. They can also define a `start` function that is automatically executed when the module is loaded. //! //! ## Loading and Validation @@ -33,7 +33,7 @@ //! //! 1. Creating an empty module instance. //! 2. Resolving the definition instances for each declared import in the module. -//! 3. Instantiating definitions declared in the module (e.g. allocate global variables, allocate linear memory spaces, etc.). +//! 3. Instantiating definitions declared in the module (e.g. allocate global variables, allocate linear memory, etc.). //! 4. Initializing memory and table contents by copying segments into them. //! 5. Executing the `start` function, if any. //!