Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed May 25, 2023
1 parent dbde4ee commit 1b2bd66
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ impl TaskGraph {
let i = self.find_node(task_id);
self.g
.edges_directed(i, petgraph::EdgeDirection::Incoming)
.into_iter()
.map(|e| &e.weight().queue_id)
.cloned()
.collect()
Expand All @@ -87,7 +86,6 @@ impl TaskGraph {
let i = self.find_node(task_id);
self.g
.edges_directed(i, petgraph::EdgeDirection::Outgoing)
.into_iter()
.map(|e| &e.weight().queue_id)
.cloned()
.collect()
Expand All @@ -101,7 +99,6 @@ impl TaskGraph {
let i = self.find_node(task_id);
self.g
.edges_directed(i, petgraph::EdgeDirection::Incoming)
.into_iter()
.find_map(|e| {
let queue_id_with_upstream = e.weight();
(&queue_id_with_upstream.upstream == upstream)
Expand Down

0 comments on commit 1b2bd66

Please sign in to comment.