summaryrefslogtreecommitdiffstats
path: root/src/cell.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <phsym@users.noreply.github.com>2018-03-02 10:39:49 +0100
committerGitHub <noreply@github.com>2018-03-02 10:39:49 +0100
commit5dacda1f2854fd8c1cfd2b09a76d704a6839036f (patch)
tree0166a9da5531e45d858fd99f2ee2bc53fde8739f /src/cell.rs
parentfd626c1d144d666a4f1e5c630fe9fdd1992d763e (diff)
parentef0dea770fb3cde2444f69595cea9efb9101a910 (diff)
Merge pull request #74 from phsym/73_derive_hash
#[derive(Hash, Eq)] and impl Extend
Diffstat (limited to 'src/cell.rs')
-rw-r--r--src/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cell.rs b/src/cell.rs
index ec9deb7..9ab9c59 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -11,7 +11,7 @@ use super::utils::print_align;
///
/// Once created, a cell's content cannot be modified.
/// The cell would have to be replaced by another one
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Hash, PartialEq, Eq)]
pub struct Cell {
content: Vec<String>,
width: usize,