Fix inline documentation after recent changes

This commit is contained in:
2026-08-17 10:16:54 +02:00
parent b4374174a9
commit 3d99501d4b
3 changed files with 10 additions and 3 deletions
+4
View File
@@ -190,6 +190,8 @@ pub trait GraphTopologyAddition: GraphTopology {
///
/// Use this before adding multiple vertices to avoid incremental growth on each call to
/// [`add_vertex`].
///
/// [`add_vertex`]: GraphTopologyAddition::add_vertex
fn reserve_vertices(&mut self, additional: usize);
/// Reserves capacity for at least `additional` more edges. Does nothing if capacity is already
@@ -197,6 +199,8 @@ pub trait GraphTopologyAddition: GraphTopology {
///
/// Use this before adding multiple edges to avoid incremental growth on each call to
/// [`add_edge`].
///
/// [`add_edge`]: GraphTopologyAddition::add_edge
fn reserve_edges(&mut self, additional: usize);
/// Adds a new isolated vertex and returns its handle.