From dccc932b60cc82d0cb0812379dacb6a16359d30f Mon Sep 17 00:00:00 2001
From: Maaz Ahmed <maaz.a@subcom.tech>
Date: Tue, 3 Dec 2024 14:25:03 +0530
Subject: [PATCH] chore: fix clippy lints

---
 src/query/fns/aggregate.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/query/fns/aggregate.rs b/src/query/fns/aggregate.rs
index 0f0410a..d4b63c8 100644
--- a/src/query/fns/aggregate.rs
+++ b/src/query/fns/aggregate.rs
@@ -34,7 +34,7 @@ impl<'a, F: Fn(&mut fmt::Formatter) -> fmt::Result> AggrFunc<'a, F> {
     }
 }
 
-impl<'a, F: Fn(&mut fmt::Formatter) -> fmt::Result> From<QryFunc<F>> for AggrFunc<'a, F> {
+impl<F: Fn(&mut fmt::Formatter) -> fmt::Result> From<QryFunc<F>> for AggrFunc<'_, F> {
     fn from(value: QryFunc<F>) -> Self {
         AggrFunc {
             inner: value,
@@ -133,7 +133,7 @@ pub fn count<'a>(
 pub fn count_values<'a>(
     label: &'a str,
     vec_expr: impl Operable + 'a,
-) -> AggrFunc<'_, impl Fn(&mut fmt::Formatter) -> fmt::Result + '_> {
+) -> AggrFunc<'a, impl Fn(&mut fmt::Formatter) -> fmt::Result + 'a> {
     qry_fn!(count_values, r#""{label}", {vec_expr}"#).into()
 }
 
-- 
GitLab