This is an automated email from the ASF dual-hosted git repository.

prantogg pushed a commit to branch pranav/add-st_asgeojson
in repository https://gitbox.apache.org/repos/asf/sedona-db.git


The following commit(s) were added to refs/heads/pranav/add-st_asgeojson by 
this push:
     new dfba3d6d clippy fix
dfba3d6d is described below

commit dfba3d6dd409809db037e2d72b20b59347b0fad4
Author: Pranav Toggi <[email protected]>
AuthorDate: Sun Dec 28 10:26:27 2025 -0800

    clippy fix
---
 rust/sedona-functions/src/st_asgeojson.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/rust/sedona-functions/src/st_asgeojson.rs 
b/rust/sedona-functions/src/st_asgeojson.rs
index 6c36fa98..d1dc4d22 100644
--- a/rust/sedona-functions/src/st_asgeojson.rs
+++ b/rust/sedona-functions/src/st_asgeojson.rs
@@ -58,7 +58,7 @@ impl GeoJsonType {
 ///
 /// An implementation of GeoJSON writing using the geojson crate.
 pub fn st_asgeojson_udf() -> SedonaScalarUDF {
-    let udf = SedonaScalarUDF::new(
+    SedonaScalarUDF::new(
         "st_asgeojson",
         vec![
             Arc::new(STAsGeoJSON {}),
@@ -66,8 +66,7 @@ pub fn st_asgeojson_udf() -> SedonaScalarUDF {
         ],
         Volatility::Immutable,
         Some(st_asgeojson_doc()),
-    );
-    udf
+    )
 }
 
 fn st_asgeojson_doc() -> Documentation {

Reply via email to