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

difftreelog

fixup! fix formatting

Yaroslav Bolyukin2024-06-18parent: #afe1286.patch.diff
in: master

3 files changed

modifiedcrates/jrsonnet-evaluator/src/error.rsdiffbeforeafterboth
--- a/crates/jrsonnet-evaluator/src/error.rs
+++ b/crates/jrsonnet-evaluator/src/error.rs
@@ -1,5 +1,8 @@
 use std::{
-	cmp::Ordering, convert::Infallible, fmt::{Debug, Display}, path::PathBuf
+	cmp::Ordering,
+	convert::Infallible,
+	fmt::{Debug, Display},
+	path::PathBuf,
 };
 
 use jrsonnet_gcmodule::Trace;
modifiedcrates/jrsonnet-evaluator/src/evaluate/mod.rsdiffbeforeafterboth
--- a/crates/jrsonnet-evaluator/src/evaluate/mod.rs
+++ b/crates/jrsonnet-evaluator/src/evaluate/mod.rs
@@ -37,7 +37,9 @@
 	}
 	Some(match &*expr.0 {
 		Expr::Str(s) => Val::string(s.clone()),
-		Expr::Num(n) => Val::Num(NumValue::new(*n).expect("parser will not allow non-finite values")),
+		Expr::Num(n) => {
+			Val::Num(NumValue::new(*n).expect("parser will not allow non-finite values"))
+		}
 		Expr::Literal(LiteralType::False) => Val::Bool(false),
 		Expr::Literal(LiteralType::True) => Val::Bool(true),
 		Expr::Literal(LiteralType::Null) => Val::Null,
modifiedcrates/jrsonnet-rowan-parser/src/marker.rsdiffbeforeafterboth

no syntactic changes