difftreelog
fix Typo `Intristic` -> `Intrinsic`
in: master
2 files changed
crates/jrsonnet-evaluator/src/error.rsdiffbeforeafterboth778#[derive(Debug, Clone)]8#[derive(Debug, Clone)]9pub enum Error {9pub enum Error {10 IntristicNotFound(Rc<str>, Rc<str>),10 IntrinsicNotFound(Rc<str>, Rc<str>),11 IntristicArgumentReorderingIsNotSupportedYet,11 IntrinsicArgumentReorderingIsNotSupportedYet,121213 UnaryOperatorDoesNotOperateOnType(UnaryOpType, ValType),13 UnaryOperatorDoesNotOperateOnType(UnaryOpType, ValType),14 BinaryOperatorDoesNotOperateOnValues(BinaryOpType, ValType, ValType),14 BinaryOperatorDoesNotOperateOnValues(BinaryOpType, ValType, ValType),crates/jrsonnet-evaluator/src/function.rsdiffbeforeafterboth--- 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)?;