git.delta.rocks / jrsonnet / refs/commits / e9a903663d5c

difftreelog

fix Typo `Intristic` -> `Intrinsic`

progrm_jarvis2020-08-03parent: #a89c869.patch.diff
in: master

2 files changed

modifiedcrates/jrsonnet-evaluator/src/error.rsdiffbeforeafterboth
--- 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<str>, Rc<str>),
-	IntristicArgumentReorderingIsNotSupportedYet,
+	IntrinsicNotFound(Rc<str>, Rc<str>),
+	IntrinsicArgumentReorderingIsNotSupportedYet,
 
 	UnaryOperatorDoesNotOperateOnType(UnaryOpType, ValType),
 	BinaryOperatorDoesNotOperateOnValues(BinaryOpType, ValType, ValType),
modifiedcrates/jrsonnet-evaluator/src/function.rsdiffbeforeafterboth
156 let $name = &args[$id];156 let $name = &args[$id];
157 if $name.0.is_some() {157 if $name.0.is_some() {
158 if $name.0.as_ref().unwrap() != stringify!($name) {158 if $name.0.as_ref().unwrap() != stringify!($name) {
159 throw!(IntristicArgumentReorderingIsNotSupportedYet);159 throw!(IntrinsicArgumentReorderingIsNotSupportedYet);
160 }160 }
161 }161 }
162 let $name = evaluate($ctx.clone(), &$name.1)?;162 let $name = evaluate($ctx.clone(), &$name.1)?;