Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 2a355f3

Browse files
author
Hendrik van Antwerpen
committed
Add documentation for Appendables
1 parent 7bd27b2 commit 2a355f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stack-graphs/src/cycles.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ where
129129
// ----------------------------------------------------------------------------
130130
// Cycle detector
131131

132+
/// An arena used by [`AppendingCycleDetector`][] to store the path component lists.
133+
/// The arena is shared between all cycle detectors in a path stitching run, so that
134+
/// the cycle detectors themselves can be small and cheaply cloned.
132135
pub struct Appendables<H> {
133136
/// List arena for appendable lists
134137
elements: ListArena<InternedPathOrHandle<H>>,

0 commit comments

Comments
 (0)