Skip to content

refactor: mod table_view is no longer pub #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/edge_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 0 additions & 4 deletions src/individual_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions src/migration_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 0 additions & 4 deletions src/mutation_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 0 additions & 4 deletions src/node_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 0 additions & 4 deletions src/population_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 0 additions & 4 deletions src/site_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/trees.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down