fix: change where TaskHandle is borrowed to prevent repeat output fetches

This commit is contained in:
TechnoPorg committed 2026-02-20 19:00:18 +01:00
1 parent c8efb00175
commit 9fbe4c2fd8
47 files changed
+323 -513

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ pub fn bench_wide_fanout(c: &mut Criterion) {
// Create 100 tasks that all depend on source
for i in 0..100 {
dag.add_task(task_fn::<i32, _, _>(move |&x: &i32| x + i))
.depends_on(source);
.depends_on(&source);
}
let _output = dag