Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Aug 27, 2024
1 parent c617b10 commit 7410be7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/filters/select/eval/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,7 @@ fn iter_tx_datums(tx: &ParsedTx) -> impl Iterator<Item = &[u8]> {
let a = tx
.outputs
.iter()
.map(|x| &x.datum)
.flatten()
.flat_map(|x| &x.datum)
.map(|x| x.hash.as_ref());

a
Expand Down
2 changes: 1 addition & 1 deletion src/filters/wasm_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl Stage {
let output = match output {
serde_json::Value::Null => vec![],
serde_json::Value::Array(x) => x.into_iter().map(Record::GenericJson).collect(),
x @ _ => vec![Record::GenericJson(x)],
x => vec![Record::GenericJson(x)],
};

Ok(output)
Expand Down

0 comments on commit 7410be7

Please sign in to comment.