Skip to content

Commit a058822

Browse files
committed
Fix cargo fmt lint failure
1 parent 8fb80ae commit a058822

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

crates/trusted-server-core/src/publisher.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,9 +1535,7 @@ pub async fn handle_publisher_request(
15351535
})?,
15361536
);
15371537
}
1538-
if should_preload_ec
1539-
&& let (Some(graph), Some(active_ec_id)) = (kv, active_ec_id)
1540-
{
1538+
if should_preload_ec && let (Some(graph), Some(active_ec_id)) = (kv, active_ec_id) {
15411539
let refreshed = graph.load_snapshot(active_ec_id);
15421540
// Never downgrade an in-request Add-confirmed Present snapshot: a
15431541
// freshly created row can read back Missing/Failed on an

0 commit comments

Comments
 (0)