Skip to content

Commit a0e2768

Browse files
committed
fix name error
1 parent badbb68 commit a0e2768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/table_collection.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ use crate::IndividualTable;
1111
use crate::IndividualTableSortOptions;
1212
use crate::MigrationTable;
1313
use crate::MutationTable;
14-
use crate::NodeFlags;
1514
use crate::NodeTable;
1615
use crate::PopulationTable;
1716
use crate::Position;
@@ -542,7 +541,7 @@ impl TableCollection {
542541
/// assert!(tables.add_node_with_metadata(0, 0.0, -1, -1, &metadata).is_ok());
543542
/// # }
544543
/// ```
545-
=> add_row_with_metadata, self, inner, nodes);
544+
=> add_node_with_metadata, self, inner, nodes);
546545

547546
/// Add a row to the site table
548547
pub fn add_site<P: Into<Position>>(
@@ -1177,6 +1176,7 @@ impl crate::traits::NodeListGenerator for TableCollection {}
11771176
#[cfg(test)]
11781177
mod test {
11791178
use super::*;
1179+
use crate::NodeFlags;
11801180

11811181
fn make_small_table_collection() -> TableCollection {
11821182
let mut tables = TableCollection::new(1000.).unwrap();

0 commit comments

Comments
 (0)