diff --git a/src/lib.rs b/src/lib.rs index 12da3e0..3365096 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -932,13 +932,13 @@ impl<'a, T: 'a + CellType> DoubleEndedIterator for Rows<'a, T> { impl<'a, T: 'a + CellType> ExactSizeIterator for Rows<'a, T> {} /// Struct with the key elements of a table -pub struct Table { +pub struct Table { pub(crate) name: String, pub(crate) sheet_name: String, pub(crate) columns: Vec, pub(crate) data: Range, } -impl Table { +impl Table { /// Get the name of the table pub fn name(&self) -> &str { &self.name diff --git a/tests/test.rs b/tests/test.rs index 2f75189..0c0da6b 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -659,7 +659,6 @@ fn table_by_ref() { .expect("Could not get data from table ref."), &DataRef::Float(64.0) ); - xls.worksheet_range_at(0).unwrap().unwrap(); // Check if owned data works let owned_data: Range = table.into();