From 71174f6626cbf100a8428ddc334681e4edfb45e6 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 20 Dec 2022 17:22:56 +0300 Subject: fix(tvix/eval): fix current clippy warnings It's been a while since the last time, so quite a lot of stuff has accumulated here. Change-Id: I0762827c197b30a917ff470fd8ae8f220f6ba247 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7597 Reviewed-by: grfn Autosubmit: tazjin Tested-by: BuildkiteCI --- tvix/eval/src/value/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/eval/src/value/function.rs') diff --git a/tvix/eval/src/value/function.rs b/tvix/eval/src/value/function.rs index e31bb92b79..1a32795393 100644 --- a/tvix/eval/src/value/function.rs +++ b/tvix/eval/src/value/function.rs @@ -30,7 +30,7 @@ impl Formals { Q: ?Sized + Hash + Eq, NixString: std::borrow::Borrow, { - self.ellipsis || self.arguments.contains_key(&arg) + self.ellipsis || self.arguments.contains_key(arg) } } -- cgit 1.4.1