diff options
author | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2018-02-19 13:22:06 +0100 |
---|---|---|
committer | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2018-02-19 13:22:06 +0100 |
commit | f38be5c886e2462f074ce849eb9aa6815900a7e3 (patch) | |
tree | 93b9ae2d5f847d218406e545d4cf1691bc7e6def /src/cell.rs | |
parent | 75eff50f57b322cdcdd3a39271666c6df06e68a7 (diff) |
Derive hash on public types
Diffstat (limited to 'src/cell.rs')
-rw-r--r-- | src/cell.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cell.rs b/src/cell.rs index ec9deb7..ef75433 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)] pub struct Cell { content: Vec<String>, width: usize, |