Fix inline documentation after recent changes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user