From aac3a50ec2e7fd31e4264e3c87b9500ad6dc9beb Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 12 May 2019 19:57:57 +0200 Subject: clippy --- dhall/src/core/thunk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall/src/core/thunk.rs') 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 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 {} -- cgit v1.2.3