Skip to content

Commit aebfbd9

Browse files
committed
style: fix formatting in db-worker
1 parent 1e73aa1 commit aebfbd9

File tree

1 file changed

+4
-4
lines changed
  • wasm/light-client-db-worker/src

1 file changed

+4
-4
lines changed

wasm/light-client-db-worker/src/db.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ where
6969
return Ok(res);
7070
}
7171

72-
let raw_kv = serde_wasm_bindgen::from_value::<KVPair>(
72+
let raw_kv = serde_wasm_bindgen::from_value::<KVPair>(
7373
iter.value()
7474
.map_err(|e| anyhow!("Failed to read value from cursor: {e:?}"))?
7575
.unwrap(),
@@ -80,7 +80,7 @@ where
8080
skip_index += 1;
8181
if skip_index > skip {
8282
if let Some(new_key) = filter_map(&raw_kv.key, &raw_kv.value).await {
83-
res.push(KVPair {
83+
res.push(KVPair {
8484
key: new_key,
8585
value: raw_kv.value,
8686
});
@@ -103,7 +103,7 @@ where
103103
return Ok(res);
104104
}
105105

106-
let raw_kv = serde_wasm_bindgen::from_value::<KVPair>(
106+
let raw_kv = serde_wasm_bindgen::from_value::<KVPair>(
107107
iter.value()
108108
.map_err(|e| anyhow!("Failed to read value from cursor: {e:?}"))?
109109
.unwrap(),
@@ -113,7 +113,7 @@ where
113113
skip_index += 1;
114114
if skip_index > skip {
115115
if let Some(new_key) = filter_map(&raw_kv.key, &raw_kv.value).await {
116-
res.push(KVPair {
116+
res.push(KVPair {
117117
key: new_key,
118118
value: raw_kv.value,
119119
});

0 commit comments

Comments
 (0)