From 9a69ee2e91276c1debcd16c369bd07389fabcb6d Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Mon, 22 May 2023 11:19:22 +0200 Subject: [PATCH] Fix typos in docs --- lib/api/src/module.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/api/src/module.rs b/lib/api/src/module.rs index ad03a2746fc..4d92a24cb04 100644 --- a/lib/api/src/module.rs +++ b/lib/api/src/module.rs @@ -285,7 +285,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. /// /// # Usage @@ -294,7 +294,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(()) /// # } /// ``` @@ -307,7 +307,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. /// /// # Safety