Skip to content

Commit

Permalink
typo fixes in lib.rs (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guanqun Lu authored and NikVolf committed Jul 30, 2018
1 parent 9ed95e4 commit 43b8d52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
//! Before execution a module should be validated. This process checks that module is well-formed
//! and makes only allowed operations.
//!
//! Valid modules can't access memory out of it's sandbox, can't cause stack underflow
//! Valid modules can't access memory out of its sandbox, can't cause stack underflow
//! and can call functions only with correct signatures.
//!
//! ## Instantiatiation
//! ## Instantiation
//!
//! In order to execute code in wasm module it should be instatiated.
//! Instantiation includes the following steps:
Expand Down Expand Up @@ -111,7 +111,7 @@ pub extern crate nan_preserving_float;
use std::fmt;
use std::error;

/// Error type which can thrown by wasm code or by host environment.
/// Error type which can be thrown by wasm code or by host environment.
///
/// Under some conditions, wasm execution may produce a `Trap`, which immediately aborts execution.
/// Traps can't be handled by WebAssembly code, but are reported to the embedder.
Expand Down Expand Up @@ -144,7 +144,7 @@ impl error::Error for Trap {
}
}

/// Error type which can thrown by wasm code or by host environment.
/// Error type which can be thrown by wasm code or by host environment.
///
/// See [`Trap`] for details.
///
Expand Down

0 comments on commit 43b8d52

Please sign in to comment.