diff options
author | Nadrieril | 2019-08-13 23:08:48 +0200 |
---|---|---|
committer | Nadrieril | 2019-08-13 23:45:27 +0200 |
commit | c600bae72198350b78fe19cf993b7f4c6f35225a (patch) | |
tree | 7986dc615d07a0a2d5b4ee5ff09a33164815ae5f /dhall_syntax/src/core/text.rs | |
parent | 43094c8c52319aa82b03e73700ca1b5f65da13c6 (diff) |
Implement Hash for ParsedSubExpr
Diffstat (limited to '')
-rw-r--r-- | dhall_syntax/src/core/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_syntax/src/core/text.rs b/dhall_syntax/src/core/text.rs index 0ce1e6f..10fd68a 100644 --- a/dhall_syntax/src/core/text.rs +++ b/dhall_syntax/src/core/text.rs @@ -1,6 +1,6 @@ use std::iter::FromIterator; -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq, Hash)] pub struct InterpolatedText<SubExpr> { head: String, tail: Vec<(SubExpr, String)>, |