From 67b07dfd7287aad0248d4ccbc82c1d3485fb255c Mon Sep 17 00:00:00 2001 From: Daniel M Date: Fri, 11 Feb 2022 01:01:31 +0100 Subject: [PATCH] Fix typo --- src/interpreter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter.rs b/src/interpreter.rs index 2cae525..2477dfb 100644 --- a/src/interpreter.rs +++ b/src/interpreter.rs @@ -12,7 +12,7 @@ use crate::{ #[derive(Debug, Error)] pub enum RuntimeError { - #[error("Invalid error Index: {}", 0.to_string())] + #[error("Invalid array Index: {}", 0.to_string())] InvalidArrayIndex(Value), #[error("Variable used but not declared: {0}")]