Skip to content

Commit 8ec6589

Browse files
committed
fix spaces breaking rustfmt and format everything
1 parent c86992d commit 8ec6589

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

crates/formality-core/src/judgment/test_filtered.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![cfg(test)]
22

33
use std::sync::Arc;
4-
use crate::cast_impl;
54

5+
use crate::cast_impl;
66
use crate::judgment_fn;
77

88
#[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Hash)]
@@ -24,14 +24,14 @@ impl Graph {
2424
judgment_fn!(
2525
fn transitive_reachable(g: Arc<Graph>, node: u32) => u32 {
2626
debug(node, g)
27-
27+
2828
(
2929
(graph.successors(a) => b)
3030
(if b % 2 == 0)
3131
--------------------------------------- ("base")
3232
(transitive_reachable(graph, a) => b)
3333
)
34-
34+
3535
(
3636
(transitive_reachable(&graph, a) => b)
3737
(transitive_reachable(&graph, b) => c)

crates/formality-prove/src/db.rs

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

crates/formality-prove/src/prove/minimize/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn minimize_a() {
2323
let (mut env_min, term_min, m) = minimize(env, term);
2424

2525
expect!["(Env { variables: [?ty_0, ?ty_1], coherence_mode: false }, [?ty_0, ?ty_1])"]
26-
.assert_eq(&format!("{:?}", (&env_min, &term_min)));
26+
.assert_eq(&format!("{:?}", (&env_min, &term_min)));
2727

2828
let ty0 = term_min[0].as_variable().unwrap();
2929
let ty1 = term_min[1].as_variable().unwrap();

examples/formality-eg/type_system.rs

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

0 commit comments

Comments
 (0)