summaryrefslogtreecommitdiffstats
path: root/src/row.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com>2018-02-19 13:22:06 +0100
committerPierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com>2018-02-19 13:22:06 +0100
commitf38be5c886e2462f074ce849eb9aa6815900a7e3 (patch)
tree93b9ae2d5f847d218406e545d4cf1691bc7e6def /src/row.rs
parent75eff50f57b322cdcdd3a39271666c6df06e68a7 (diff)
Derive hash on public types
Diffstat (limited to 'src/row.rs')
-rw-r--r--src/row.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/row.rs b/src/row.rs
index 86b7d68..28bed2a 100644
--- a/src/row.rs
+++ b/src/row.rs
@@ -11,7 +11,7 @@ use super::cell::Cell;
use super::format::{TableFormat, ColumnPosition};
/// Represent a table row made of cells
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Hash)]
pub struct Row {
cells: Vec<Cell>,
}