From 0968d7a4c7a9c4daf90b18de51cac08ce199f142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvard=20Th=C3=B6rnros?= Date: Thu, 18 Feb 2021 20:05:36 +0100 Subject: fix spelling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gustav Sörnäs --- src/vm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vm.rs') diff --git a/src/vm.rs b/src/vm.rs index a5b4af6..a1c58d9 100644 --- a/src/vm.rs +++ b/src/vm.rs @@ -605,7 +605,7 @@ impl VM { let expected = Type::from(&value); if ty != &expected { error!(self, ErrorKind::TypeMismatch(expected, ty.clone()), - "Field and variables type deosn't match."); + "Types of field and variable do not match."); } } else { error!(self, ErrorKind::UnkownField(inst, field.clone())); @@ -662,7 +662,7 @@ impl VM { if top_type != Type::Unknown => {} (a, b) if a != &b => { error!(self, ErrorKind::TypeMismatch(a.clone(), b.clone()), - "Cannot assign missmatching types."); + "Cannot assign mismatching types."); } _ => {} } -- cgit v1.2.1