Fix extra word, remove mention of linear memory "space"

This commit is contained in:
Tobias Bucher 2018-08-26 21:09:53 +02:00
parent e3c75472c4
commit c5c28469bb
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
//! # wasmi //! # 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 //! # Introduction
//! //!
@ -10,12 +10,12 @@
//! //!
//! - functions, //! - functions,
//! - global variables, //! - global variables,
//! - linear memory spaces and //! - linear memory instances and
//! - tables. //! - tables.
//! //!
//! Each of these definitions can be imported and exported. //! 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. //! 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 //! ## Loading and Validation
@ -33,7 +33,7 @@
//! //!
//! 1. Creating an empty module instance. //! 1. Creating an empty module instance.
//! 2. Resolving the definition instances for each declared import in the module. //! 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. //! 4. Initializing memory and table contents by copying segments into them.
//! 5. Executing the `start` function, if any. //! 5. Executing the `start` function, if any.
//! //!