Fix typo in describing ensure_len function
diff --git a/src/matrix_graph.rs b/src/matrix_graph.rs index 0e0c26c..2fdbfc1 100644 --- a/src/matrix_graph.rs +++ b/src/matrix_graph.rs
@@ -834,7 +834,7 @@ new_node_capacity + 1 } -/// Grow a Vec by appending the type's default value the `size` is reached. +/// Grow a Vec by appending the type's default value until the `size` is reached. fn ensure_len<T: Default>(v: &mut Vec<T>, size: usize) { if let Some(n) = size.checked_sub(v.len()) { v.reserve(n);