Update host.rs

This commit is contained in:
Nikolay Volf 2018-01-31 22:16:20 +03:00 committed by Sergey Pepyakin
parent a6562a7260
commit 3faf74fd18
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ impl<'a> RuntimeArgs<'a> {
///
/// # Errors
///
/// Returns `Err` if this list have not enough arguments.
/// Returns `Err` if this list has not enough arguments.
pub fn nth_value_checked(&self, idx: usize) -> Result<RuntimeValue, Error> {
if self.0.len() <= idx {
return Err(Error::Value("Invalid argument index".to_owned()));