diff --git a/src/edge_table.rs b/src/edge_table.rs index acc3bd2a2..0632fc604 100644 --- a/src/edge_table.rs +++ b/src/edge_table.rs @@ -138,10 +138,6 @@ impl<'a> streaming_iterator::StreamingIterator for EdgeTableRowView<'a> { } /// An immutable view of an edge table. -/// -/// These are not created directly but are accessed -/// by types implementing [`std::ops::Deref`] to -/// [`crate::table_views::TableViews`] #[repr(transparent)] #[derive(Debug)] pub struct EdgeTable { diff --git a/src/individual_table.rs b/src/individual_table.rs index 269e3d73d..253fa6b01 100644 --- a/src/individual_table.rs +++ b/src/individual_table.rs @@ -96,10 +96,6 @@ impl<'a> streaming_iterator::StreamingIterator for IndividualTableRowView<'a> { } /// An immutable view of a individual table. -/// -/// These are not created directly but are accessed -/// by types implementing [`std::ops::Deref`] to -/// [`crate::table_views::TableViews`] #[derive(Debug)] #[repr(transparent)] pub struct IndividualTable { diff --git a/src/lib.rs b/src/lib.rs index 81e5b1228..306839d5a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -95,7 +95,7 @@ mod site_table; mod sys; mod table_collection; mod table_iterator; -pub mod table_views; +mod table_views; mod traits; mod tree_interface; mod trees; diff --git a/src/migration_table.rs b/src/migration_table.rs index 90afd3cbf..511b3367e 100644 --- a/src/migration_table.rs +++ b/src/migration_table.rs @@ -158,10 +158,6 @@ impl<'a> streaming_iterator::StreamingIterator for MigrationTableRowView<'a> { } /// An immutable view of a migration table. -/// -/// These are not created directly but are accessed -/// by types implementing [`std::ops::Deref`] to -/// [`crate::table_views::TableViews`] #[derive(Debug)] #[repr(transparent)] pub struct MigrationTable { diff --git a/src/mutation_table.rs b/src/mutation_table.rs index 19f28da06..fcdfe5802 100644 --- a/src/mutation_table.rs +++ b/src/mutation_table.rs @@ -155,10 +155,6 @@ impl<'a> streaming_iterator::StreamingIterator for MutationTableRowView<'a> { } /// An immutable view of site table. -/// -/// These are not created directly but are accessed -/// by types implementing [`std::ops::Deref`] to -/// [`crate::table_views::TableViews`] #[derive(Debug)] #[repr(transparent)] pub struct MutationTable { diff --git a/src/node_table.rs b/src/node_table.rs index d460bed93..31c6f2b54 100644 --- a/src/node_table.rs +++ b/src/node_table.rs @@ -139,10 +139,6 @@ impl<'a> streaming_iterator::StreamingIterator for NodeTableRowView<'a> { } /// An immtable view of a node table. -/// -/// These are not created directly but are accessed -/// by types implementing [`std::ops::Deref`] to -/// [`crate::table_views::TableViews`] #[derive(Debug)] #[repr(transparent)] pub struct NodeTable { diff --git a/src/population_table.rs b/src/population_table.rs index 154aa3c36..4e1211644 100644 --- a/src/population_table.rs +++ b/src/population_table.rs @@ -107,10 +107,6 @@ impl<'a> streaming_iterator::StreamingIterator for PopulationTableRowView<'a> { } /// An immutable view of site table. -/// -/// These are not created directly but are accessed -/// by types implementing [`std::ops::Deref`] to -/// [`crate::table_views::TableViews`] #[repr(transparent)] #[derive(Debug)] pub struct PopulationTable { diff --git a/src/site_table.rs b/src/site_table.rs index 89130176b..175e4b54b 100644 --- a/src/site_table.rs +++ b/src/site_table.rs @@ -125,10 +125,6 @@ impl<'a> streaming_iterator::StreamingIterator for SiteTableRowView<'a> { } /// An immutable view of site table. -/// -/// These are not created directly but are accessed -/// by types implementing [`std::ops::Deref`] to -/// [`crate::table_views::TableViews`] #[derive(Debug)] #[repr(transparent)] pub struct SiteTable { diff --git a/src/trees.rs b/src/trees.rs index 3c908d8bd..0a7c54c05 100644 --- a/src/trees.rs +++ b/src/trees.rs @@ -166,7 +166,7 @@ impl streaming_iterator::DoubleEndedStreamingIterator for Tree { /// assert_eq!(treeseq.edges().num_rows(), 2); /// ``` /// -/// This type does not [`std::ops::DerefMut`] to [`crate::table_views::TableViews`]: +/// This type does not provide access to mutable tables. /// /// ```compile_fail /// # let mut tables = tskit::TableCollection::new(1000.).unwrap();