apply cargo fmt

This commit is contained in:
Niko Matsakis 2021-11-02 05:06:26 -04:00
parent c096f714b5
commit 83b2f40ca2

View file

@ -202,8 +202,7 @@ impl DependencyGraph {
for from_id in dependents { for from_id in dependents {
let edge = self.edges.remove(&from_id).expect("no edge for dependent"); let edge = self.edges.remove(&from_id).expect("no edge for dependent");
assert_eq!(to_id, edge.blocked_on_id); assert_eq!(to_id, edge.blocked_on_id);
self.wait_results self.wait_results.insert(from_id, (edge.stack, wait_result));
.insert(from_id, (edge.stack, wait_result));
} }
// Now that we have inserted the `wait_results`, // Now that we have inserted the `wait_results`,