Skip to content

Commit

Permalink
dag/lib: Typos
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <ikey@serpentos.com>
  • Loading branch information
ikeycode committed Oct 14, 2023
1 parent 1bff5cc commit abe4b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dag/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ where
Self::default()
}

/// Adds node N to the graph and retusn it's index.
/// Adds node N to the graph and returns the index.
/// If N already exists, it'll return the index of that node.
pub fn add_node_or_get_index(&mut self, node: N) -> NodeIndex {
if let Some(index) = self.get_index(&node) {
Expand Down

0 comments on commit abe4b78

Please sign in to comment.