diff --git a/datafusion/core/tests/user_defined/user_defined_window_functions.rs b/datafusion/core/tests/user_defined/user_defined_window_functions.rs index f3ebfb4ec296..4ec7d8bdb997 100644 --- a/datafusion/core/tests/user_defined/user_defined_window_functions.rs +++ b/datafusion/core/tests/user_defined/user_defined_window_functions.rs @@ -740,9 +740,7 @@ fn test_default_expressions() -> Result<()> { for input_exprs in &test_cases { let input_types = input_exprs .iter() - .map(|expr: &Arc| { - expr.data_type(&schema).unwrap() - }) + .map(|expr: &Arc| expr.data_type(&schema).unwrap()) .collect::>(); let expr_args = ExpressionArgs::new(input_exprs, &input_types);