Skip to content

Commit 1f1da3e

Browse files
committed
style(snapshot): format FIR-1051 root fallback
Signed-off-by: Troy Fortin <troy@firelock.io>
1 parent 2581223 commit 1f1da3e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

crates/kin-db/src/storage/snapshot.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,11 @@ impl SnapshotManager {
763763
let matched_root = metadata.as_ref().and_then(|m| {
764764
if vector_metadata_matches_graph(m, graph_root_hash, expected_embedder_identity) {
765765
Some(graph_root_hash)
766-
} else if vector_metadata_matches_graph(m, canonical_root_hash, expected_embedder_identity)
767-
{
766+
} else if vector_metadata_matches_graph(
767+
m,
768+
canonical_root_hash,
769+
expected_embedder_identity,
770+
) {
768771
Some(canonical_root_hash)
769772
} else {
770773
None

0 commit comments

Comments
 (0)