difftreelog
style fix formatting
in: master
3 files changed
crates/jrsonnet-evaluator/src/evaluate/mod.rsdiffbeforeafterbothno syntactic changes
crates/jrsonnet-evaluator/src/function.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/function.rs
+++ b/crates/jrsonnet-evaluator/src/function.rs
@@ -1,4 +1,7 @@
-use crate::{Context, FutureWrapper, GcHashMap, LazyVal, LazyValValue, Result, Val, error::Error::*, evaluate, evaluate_named, gc::TraceBox, throw};
+use crate::{
+ error::Error::*, evaluate, evaluate_named, gc::TraceBox, throw, Context, FutureWrapper,
+ GcHashMap, LazyVal, LazyValValue, Result, Val,
+};
use gcmodule::Trace;
use jrsonnet_interner::IStr;
use jrsonnet_parser::{ArgsDesc, LocExpr, ParamsDesc};
@@ -187,10 +190,7 @@
)
}
}
- LazyVal::new(TraceBox(Box::new(EvaluateLazyVal {
- body_ctx,
- default,
- })))
+ LazyVal::new(TraceBox(Box::new(EvaluateLazyVal { body_ctx, default })))
}
} else {
throw!(FunctionParameterNotBoundInCall(p.0.clone()));
crates/jrsonnet-evaluator/src/typed.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/typed.rs
+++ b/crates/jrsonnet-evaluator/src/typed.rs
@@ -1,6 +1,9 @@
use std::{fmt::Display, rc::Rc};
-use crate::{Val, error::{Error, LocError, Result}, push_description_frame};
+use crate::{
+ error::{Error, LocError, Result},
+ push_description_frame, Val,
+};
use gcmodule::Trace;
use jrsonnet_types::{ComplexValType, ValType};
use thiserror::Error;