From e9a903663d5c56b50f4c4c071760b61818567c4d Mon Sep 17 00:00:00 2001 From: progrm_jarvis Date: Mon, 03 Aug 2020 19:40:11 +0000 Subject: [PATCH] fix: Typo `Intristic` -> `Intrinsic` --- --- a/crates/jrsonnet-evaluator/src/error.rs +++ b/crates/jrsonnet-evaluator/src/error.rs @@ -7,8 +7,8 @@ #[derive(Debug, Clone)] pub enum Error { - IntristicNotFound(Rc, Rc), - IntristicArgumentReorderingIsNotSupportedYet, + IntrinsicNotFound(Rc, Rc), + IntrinsicArgumentReorderingIsNotSupportedYet, UnaryOperatorDoesNotOperateOnType(UnaryOpType, ValType), BinaryOperatorDoesNotOperateOnValues(BinaryOpType, ValType, ValType), --- a/crates/jrsonnet-evaluator/src/function.rs +++ b/crates/jrsonnet-evaluator/src/function.rs @@ -156,7 +156,7 @@ let $name = &args[$id]; if $name.0.is_some() { if $name.0.as_ref().unwrap() != stringify!($name) { - throw!(IntristicArgumentReorderingIsNotSupportedYet); + throw!(IntrinsicArgumentReorderingIsNotSupportedYet); } } let $name = evaluate($ctx.clone(), &$name.1)?; -- gitstuff