mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-10-05 15:57:08 +03:00
Run cargo fmt
This commit is contained in:
parent
4e0823a015
commit
91ceca04c9
@ -177,13 +177,11 @@ impl Term {
|
||||
*self = Term::Use {
|
||||
nam: Some(bnd.clone()),
|
||||
val: arg,
|
||||
nxt: Box::new(
|
||||
Term::Use {
|
||||
nam: Some(var),
|
||||
val: Box::new(Term::Var { nam: bnd }),
|
||||
nxt: Box::new(std::mem::take(self)),
|
||||
}
|
||||
)
|
||||
nxt: Box::new(Term::Use {
|
||||
nam: Some(var),
|
||||
val: Box::new(Term::Var { nam: bnd }),
|
||||
nxt: Box::new(std::mem::take(self)),
|
||||
}),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ fn readback_hvm() {
|
||||
#[test]
|
||||
fn simplify_matches() {
|
||||
run_golden_test_dir(function_name!(), &|code, path| {
|
||||
let diagnostics_cfg = DiagnosticsConfig {
|
||||
let diagnostics_cfg = DiagnosticsConfig {
|
||||
irrefutable_match: Severity::Allow,
|
||||
..DiagnosticsConfig::new(Severity::Error, true)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user