Skip to content

Commit

Permalink
Merge pull request #3891 from chipshort/master
Browse files Browse the repository at this point in the history
Fix typos in docs
  • Loading branch information
syrusakbary authored May 25, 2023
2 parents 42c2e2c + 50b3c25 commit 22fa0e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/api/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ impl Module {
Ok(Self(module_imp::Module::deserialize(engine, bytes)?))
}

/// Deserializes a a serialized Module located in a `Path` into a `Module`.
/// Deserializes a serialized Module located in a `Path` into a `Module`.
/// > Note: the module has to be serialized before with the `serialize` method.
///
/// # Usage
Expand All @@ -300,7 +300,7 @@ impl Module {
/// # use wasmer::*;
/// # let mut store = Store::default();
/// # fn main() -> anyhow::Result<()> {
/// let module = Module::deserialize_from_file(&store, path)?;
/// let module = Module::deserialize_from_file_checked(&store, path)?;
/// # Ok(())
/// # }
/// ```
Expand All @@ -317,7 +317,7 @@ impl Module {
)?))
}

/// Deserializes a a serialized Module located in a `Path` into a `Module`.
/// Deserializes a serialized Module located in a `Path` into a `Module`.
/// > Note: the module has to be serialized before with the `serialize` method.
///
/// You should usually prefer the safer [`Module::deserialize_from_file`].
Expand Down

0 comments on commit 22fa0e8

Please sign in to comment.