summaryrefslogtreecommitdiff
path: root/dhall/src/core/thunk.rs
diff options
context:
space:
mode:
authorNadrieril2019-05-12 19:57:57 +0200
committerNadrieril2019-05-12 19:57:57 +0200
commitaac3a50ec2e7fd31e4264e3c87b9500ad6dc9beb (patch)
tree85dcf63d22085ca8ae449d8902630e5c6aee243d /dhall/src/core/thunk.rs
parent8abb4843a4d0fd62a70fc704f894b76b52d40c9b (diff)
clippy
Diffstat (limited to 'dhall/src/core/thunk.rs')
-rw-r--r--dhall/src/core/thunk.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/core/thunk.rs b/dhall/src/core/thunk.rs
index c65d70e..5c569e1 100644
--- a/dhall/src/core/thunk.rs
+++ b/dhall/src/core/thunk.rs
@@ -299,7 +299,7 @@ impl Subst<Typed> for TypeThunk {
impl std::cmp::PartialEq for Thunk {
fn eq(&self, other: &Self) -> bool {
- &*self.as_value() == &*other.as_value()
+ *self.as_value() == *other.as_value()
}
}
impl std::cmp::Eq for Thunk {}