Skip to content

Commit 037b6f7

Browse files
committed
more
1 parent 4df2fa4 commit 037b6f7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/sys/node_table.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use std::ptr::NonNull;
22

3-
use crate::IndividualId;
4-
use crate::NodeFlags;
5-
use crate::PopulationId;
6-
use crate::Time;
3+
use super::flags::NodeFlags;
4+
use super::newtypes::IndividualId;
5+
use super::newtypes::PopulationId;
6+
use super::newtypes::Time;
77

88
use super::bindings::tsk_node_table_add_row;
99
use super::bindings::tsk_node_table_clear;
@@ -114,20 +114,20 @@ impl NodeTable {
114114
}
115115
}
116116

117-
pub fn individual(&self, row: NodeId) -> Option<IndividualId> {
118-
safe_tsk_column_access!(self, row, IndividualId, individual )
117+
pub fn individual(&self, row: NodeId) -> Option<IndividualId> {
118+
safe_tsk_column_access!(self, row, IndividualId, individual)
119119
}
120120

121-
pub fn population(&self, row: NodeId) -> Option<PopulationId> {
122-
safe_tsk_column_access!(self, row, PopulationId, population )
121+
pub fn population(&self, row: NodeId) -> Option<PopulationId> {
122+
safe_tsk_column_access!(self, row, PopulationId, population)
123123
}
124124

125-
pub fn time(&self, row: NodeId) -> Option<Time> {
126-
safe_tsk_column_access!(self, row, Time, time )
125+
pub fn time(&self, row: NodeId) -> Option<Time> {
126+
safe_tsk_column_access!(self, row, Time, time)
127127
}
128128

129-
pub fn flags(&self, row: NodeId) -> Option<NodeFlags> {
130-
safe_tsk_column_access!(self, row, NodeFlags, flags )
129+
pub fn flags(&self, row: NodeId) -> Option<NodeFlags> {
130+
safe_tsk_column_access!(self, row, NodeFlags, flags)
131131
}
132132
}
133133

0 commit comments

Comments
 (0)