Skip to content

Commit 9cd4cdf

Browse files
committed
Fix doc code snippet.
1 parent 6af2032 commit 9cd4cdf

File tree

1 file changed

+3
-1
lines changed
  • docs/userguide/src/tutorial/code/mygc_semispace

1 file changed

+3
-1
lines changed

docs/userguide/src/tutorial/code/mygc_semispace/gc_work.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ impl<VM: VMBinding> ProcessEdgesWork for MyGCProcessEdges<VM> {
7373
worker,
7474
)
7575
} else {
76-
self.plan.common.trace_object(queue, object, worker)
76+
use crate::plan::PlanTraceObject;
77+
use crate::policy::gc_work::DEFAULT_TRACE;
78+
self.plan.common.trace_object::<_, DEFAULT_TRACE>(queue, object, worker)
7779
}
7880
}
7981

0 commit comments

Comments
 (0)