From d7fcea29833a43d2af56d1486e46448ab4261258 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Sat, 21 Oct 2023 11:21:32 -0600 Subject: [PATCH] small clippy fix (#524) --- src/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.rs b/src/functions.rs index be903609..b8c82555 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -140,7 +140,7 @@ fn window( ctx.and_then(|ctx| { ctx.ctx .udaf(name) - .map(|fun| datafusion_expr::WindowFunction::AggregateUDF(fun)) + .map(datafusion_expr::WindowFunction::AggregateUDF) .ok() }) });