File tree Expand file tree Collapse file tree 9 files changed +2
-30
lines changed
Expand file tree Collapse file tree 9 files changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,6 @@ impl<'a> streaming_iterator::StreamingIterator for EdgeTableRowView<'a> {
138138}
139139
140140/// An immutable view of an edge table.
141- ///
142- /// These are not created directly but are accessed
143- /// by types implementing [`std::ops::Deref`] to
144- /// [`crate::table_views::TableViews`]
145141#[ repr( transparent) ]
146142#[ derive( Debug ) ]
147143pub struct EdgeTable {
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ impl<'a> streaming_iterator::StreamingIterator for IndividualTableRowView<'a> {
9696}
9797
9898/// An immutable view of a individual table.
99- ///
100- /// These are not created directly but are accessed
101- /// by types implementing [`std::ops::Deref`] to
102- /// [`crate::table_views::TableViews`]
10399#[ derive( Debug ) ]
104100#[ repr( transparent) ]
105101pub struct IndividualTable {
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ mod site_table;
9595mod sys;
9696mod table_collection;
9797mod table_iterator;
98- pub mod table_views;
98+ mod table_views;
9999mod traits;
100100mod tree_interface;
101101mod trees;
Original file line number Diff line number Diff line change @@ -158,10 +158,6 @@ impl<'a> streaming_iterator::StreamingIterator for MigrationTableRowView<'a> {
158158}
159159
160160/// An immutable view of a migration table.
161- ///
162- /// These are not created directly but are accessed
163- /// by types implementing [`std::ops::Deref`] to
164- /// [`crate::table_views::TableViews`]
165161#[ derive( Debug ) ]
166162#[ repr( transparent) ]
167163pub struct MigrationTable {
Original file line number Diff line number Diff line change @@ -155,10 +155,6 @@ impl<'a> streaming_iterator::StreamingIterator for MutationTableRowView<'a> {
155155}
156156
157157/// An immutable view of site table.
158- ///
159- /// These are not created directly but are accessed
160- /// by types implementing [`std::ops::Deref`] to
161- /// [`crate::table_views::TableViews`]
162158#[ derive( Debug ) ]
163159#[ repr( transparent) ]
164160pub struct MutationTable {
Original file line number Diff line number Diff line change @@ -139,10 +139,6 @@ impl<'a> streaming_iterator::StreamingIterator for NodeTableRowView<'a> {
139139}
140140
141141/// An immtable view of a node table.
142- ///
143- /// These are not created directly but are accessed
144- /// by types implementing [`std::ops::Deref`] to
145- /// [`crate::table_views::TableViews`]
146142#[ derive( Debug ) ]
147143#[ repr( transparent) ]
148144pub struct NodeTable {
Original file line number Diff line number Diff line change @@ -107,10 +107,6 @@ impl<'a> streaming_iterator::StreamingIterator for PopulationTableRowView<'a> {
107107}
108108
109109/// An immutable view of site table.
110- ///
111- /// These are not created directly but are accessed
112- /// by types implementing [`std::ops::Deref`] to
113- /// [`crate::table_views::TableViews`]
114110#[ repr( transparent) ]
115111#[ derive( Debug ) ]
116112pub struct PopulationTable {
Original file line number Diff line number Diff line change @@ -125,10 +125,6 @@ impl<'a> streaming_iterator::StreamingIterator for SiteTableRowView<'a> {
125125}
126126
127127/// An immutable view of site table.
128- ///
129- /// These are not created directly but are accessed
130- /// by types implementing [`std::ops::Deref`] to
131- /// [`crate::table_views::TableViews`]
132128#[ derive( Debug ) ]
133129#[ repr( transparent) ]
134130pub struct SiteTable {
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ impl streaming_iterator::DoubleEndedStreamingIterator for Tree {
166166/// assert_eq!(treeseq.edges().num_rows(), 2);
167167/// ```
168168///
169- /// This type does not [`std::ops::DerefMut`] to [`crate::table_views::TableViews`]:
169+ /// This type does not provide access to mutable tables.
170170///
171171/// ```compile_fail
172172/// # let mut tables = tskit::TableCollection::new(1000.).unwrap();
You can’t perform that action at this time.
0 commit comments