summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ae90adb..d6c22ce 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -36,7 +36,7 @@ use format::{TableFormat, LinePosition, consts};
use utils::StringWriter;
/// An owned printable table
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Hash)]
pub struct Table {
format: Box<TableFormat>,
titles: Box<Option<Row>>,
@@ -62,7 +62,7 @@ pub struct Table {
/// # }
/// ```
///
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Hash)]
pub struct TableSlice<'a> {
format: &'a TableFormat,
titles: &'a Option<Row>,