mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-26 06:42:48 +00:00
Update src/runtime/dependency_graph.rs
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
parent
563334da17
commit
cd265bfd12
1 changed files with 1 additions and 2 deletions
|
@ -152,8 +152,7 @@ impl DependencyGraph {
|
|||
if let Some(cycle) = edge.stack[prefix..]
|
||||
.iter()
|
||||
.rev()
|
||||
.filter_map(|aq| aq.cycle.clone())
|
||||
.next()
|
||||
.find_map(|aq| aq.cycle.clone())
|
||||
{
|
||||
// Remove `id` from the list of runtimes blocked on `next_key`:
|
||||
self.query_dependents
|
||||
|
|
Loading…
Reference in a new issue