Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Sep 25, 2023
1 parent 59c6818 commit 621b0a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always
Expand Down
4 changes: 2 additions & 2 deletions crates/torin/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ impl DOMAdapter<usize> for TestingDOM {
&self,
node_id_a: &usize,
_node_id_b: &usize,
) -> Option<(usize, Vec<usize>)> {
) -> Option<(usize, FxHashSet<usize>)> {
let parent = self.parent_of(node_id_a).unwrap_or(*node_id_a);
Some((parent, vec![parent]))
Some((parent, FxHashSet::from_iter([parent])))
}
}

Expand Down

0 comments on commit 621b0a0

Please sign in to comment.