Skip to content

Commit bcd6c9e

Browse files
committed
cargo fmt
1 parent 529df6b commit bcd6c9e

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

src/graph/edge/bilateral.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,10 @@ pub trait BilateralEdge: TEdge + Sync + Send {
9191
} else {
9292
let a_id = vertex_id;
9393
let b_id = id;
94-
async move {
95-
Ok(Ok(Self::build_edge(a_id, b_id, schema_id, None)))
96-
}
97-
.boxed()
94+
async move { Ok(Ok(Self::build_edge(a_id, b_id, schema_id, None))) }.boxed()
9895
}
9996
} else {
100-
async move {
101-
Ok(Err(EdgeError::WrongSchema))
102-
}
103-
.boxed()
97+
async move { Ok(Err(EdgeError::WrongSchema)) }.boxed()
10498
}
10599
}
106100

0 commit comments

Comments
 (0)