File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1322,7 +1322,7 @@ impl<T> Graph<T> {
13221322
13231323 #[ cfg( feature = "dot" ) ]
13241324 /// Creates a file with the dot representation of the graph.
1325- /// This method requires the `dot` feature.
1325+ /// This method requires the `dot` crate feature.
13261326 ///
13271327 /// ## Example
13281328 /// ```rust
@@ -1370,6 +1370,8 @@ impl<T> Graph<T> {
13701370
13711371 #[ cfg( feature = "dot" ) ]
13721372 /// Labels the vertex with the given id. Returns the old label if successful.
1373+ ///
1374+ /// This method requires the `dot` crate feature.
13731375 ///
13741376 /// ## Example
13751377 /// ```rust
@@ -1403,6 +1405,8 @@ impl<T> Graph<T> {
14031405
14041406 #[ cfg( feature = "dot" ) ]
14051407 /// Retrieves the label of the vertex with the given id.
1408+ ///
1409+ /// This method requires the `dot` crate feature.
14061410 ///
14071411 /// This function will return a default label if no label is set. Returns
14081412 /// `None` if there is no vertex associated with the given id in the graph.
@@ -1437,6 +1441,8 @@ impl<T> Graph<T> {
14371441
14381442 #[ cfg( feature = "dot" ) ]
14391443 /// Maps each label that is placed on a vertex to a new label.
1444+ ///
1445+ /// This method requires the `dot` crate feature.
14401446 ///
14411447 /// ```rust
14421448 /// use std::collections::HashMap;
You can’t perform that action at this time.
0 commit comments