summaryrefslogtreecommitdiffstats
path: root/src/format.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2019-08-26 23:48:51 +0200
committerPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2019-08-26 23:48:51 +0200
commitcf7dca33e2e2131c20e4bbc34ad222c5e6edc29a (patch)
tree6095c3ef10e7104d32b9c93e35d173cc243ad95f /src/format.rs
parent6bb234c979f8153f8ee8eede5cbb9a1ae2658f23 (diff)
Privatize deprecated functions functions for #87HEADmaster
Diffstat (limited to 'src/format.rs')
-rw-r--r--src/format.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/format.rs b/src/format.rs
index 9339348..10bee26 100644
--- a/src/format.rs
+++ b/src/format.rs
@@ -220,8 +220,8 @@ impl TableFormat {
/// Print a full line separator to `out`. `col_width` is a slice containing the width of each column.
/// Returns the number of printed lines
- #[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 print_line_separator<T: Write + ?Sized>(&self,
+ // #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")]
+ pub (crate) fn print_line_separator<T: Write + ?Sized>(&self,
out: &mut T,
col_width: &[usize],
pos: LinePosition)
@@ -252,8 +252,8 @@ impl TableFormat {
}
/// Print a column separator or a table border
- #[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 print_column_separator<T: Write + ?Sized>(&self,
+ // #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")]
+ pub (crate) fn print_column_separator<T: Write + ?Sized>(&self,
out: &mut T,
pos: ColumnPosition)
-> Result<(), Error> {