From 9b5e8976593ca259210581283a19179c1e3b5660 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Wed, 2 Aug 2023 00:59:42 +0900 Subject: [PATCH] Fix typo in proto.rs (#1348) occured -> occurred --- node-graph/graph-craft/src/proto.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-graph/graph-craft/src/proto.rs b/node-graph/graph-craft/src/proto.rs index 187ee2b6..37cd1baa 100644 --- a/node-graph/graph-craft/src/proto.rs +++ b/node-graph/graph-craft/src/proto.rs @@ -544,13 +544,13 @@ impl TypingContext { let impls = self.lookup.get(&node.identifier).ok_or(format!("No implementations found for {:?}", node.identifier))?; if matches!(input, Type::Generic(_)) { - return Err(format!("Generic types are not supported as inputs yet {:?} occured in {:?}", &input, node.identifier)); + return Err(format!("Generic types are not supported as inputs yet {:?} occurred in {:?}", &input, node.identifier)); } if parameters.iter().any(|p| { matches!(p, Type::Fn(_, b) if matches!(b.as_ref(), Type::Generic(_))) }) { - return Err(format!("Generic types are not supported in parameters: {:?} occured in {:?}", parameters, node.identifier)); + return Err(format!("Generic types are not supported in parameters: {:?} occurred in {:?}", parameters, node.identifier)); } fn covariant(from: &Type, to: &Type) -> bool { match (from, to) {