Update comment for pub, hidden Graph structs

This commit is contained in:
2026-09-04 08:16:09 +02:00
parent 8c3c6abc78
commit 016d127bd1
+4 -4
View File
@@ -46,16 +46,16 @@ impl IncidenceSlot {
} }
} }
/// `pub` because [`Vertex`] references it as a type parameter of the underlying arena. Not /// Referenced by [`Vertex`] as a type parameter of the underlying arena. Not intended for direct
/// intended for direct external use. /// external use.
#[doc(hidden)] #[doc(hidden)]
pub struct VertexIncidenceHeader { pub struct VertexIncidenceHeader {
incidence_count: usize, incidence_count: usize,
first_incidence: Option<IncidenceSlot>, first_incidence: Option<IncidenceSlot>,
} }
/// `pub` because [`Edge`] references it as a type parameter of the underlying arena. Not intended /// Referenced by [`Edge`] as a type parameter of the underlying arena. Not intended for direct
/// for direct external use. /// external use.
#[doc(hidden)] #[doc(hidden)]
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
pub struct IncidenceEntry { pub struct IncidenceEntry {