From 2133f782a429b9889abee781792923c0be8c2ad8 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 23 Jan 2018 14:43:09 +0300 Subject: [PATCH] fix doc comment --- src/host.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host.rs b/src/host.rs index 13e722f..09b6c85 100644 --- a/src/host.rs +++ b/src/host.rs @@ -19,7 +19,7 @@ impl<'a> RuntimeArgs<'a> { Ok(self.nth_value(idx)?.try_into().map_err(|_| Error::Value("Invalid argument cast".to_owned()))?) } - /// Extract argument as a runtime value by index `idx` returning error is not enougn arguments + /// Extract argument as a runtime value by index `idx` returning error is not enough arguments pub fn nth_value(&self, idx: usize) -> Result { if self.0.len() <= idx { return Err(Error::Value("Invalid argument index".to_owned()));