Skip to content

Commit 011b1f9

Browse files
committed
rustfmt.toml
1 parent 1aeb676 commit 011b1f9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

crates/lean_compiler/src/a_simplify_lang.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -845,10 +845,10 @@ pub fn find_variable_usage(lines: &[Line]) -> (BTreeSet<Var>, BTreeSet<Var>) {
845845
}
846846
};
847847

848-
let on_new_condition = |condition: &Condition,
849-
internal_vars: &BTreeSet<Var>,
850-
external_vars: &mut BTreeSet<Var>| {
851-
match condition {
848+
let on_new_condition =
849+
|condition: &Condition,
850+
internal_vars: &BTreeSet<Var>,
851+
external_vars: &mut BTreeSet<Var>| match condition {
852852
Condition::Comparison(Boolean::Equal { left, right })
853853
| Condition::Comparison(Boolean::Different { left, right }) => {
854854
on_new_expr(left, internal_vars, external_vars);
@@ -857,8 +857,7 @@ pub fn find_variable_usage(lines: &[Line]) -> (BTreeSet<Var>, BTreeSet<Var>) {
857857
Condition::Expression(expr, _assume_boolean) => {
858858
on_new_expr(expr, internal_vars, external_vars);
859859
}
860-
}
861-
};
860+
};
862861

863862
for line in lines {
864863
match line {

rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
max_width = 100

0 commit comments

Comments
 (0)