diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -72,6 +72,7 @@ pub struct TableSlice<'a> { impl<'a> TableSlice<'a> { /// Compute and return the number of column + #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] pub fn get_column_num(&self) -> usize { let mut cnum = 0; for r in self.rows { @@ -297,6 +298,7 @@ impl Table { } /// Compute and return the number of column + #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] pub fn get_column_num(&self) -> usize { self.as_ref().get_column_num() } |