diff --git a/rust/geodatafusion-flatgeobuf/src/file_format.rs b/rust/geodatafusion-flatgeobuf/src/file_format.rs index 74231e2..616992d 100644 --- a/rust/geodatafusion-flatgeobuf/src/file_format.rs +++ b/rust/geodatafusion-flatgeobuf/src/file_format.rs @@ -251,7 +251,7 @@ impl DisplayAs for FlatGeobufSink { } DisplayFormatType::TreeRender => { writeln!(f, "format: flatgeobuf")?; - write!(f, "file={}", &self.config.original_url) + write!(f, "file={}", self.config.original_url) } } } diff --git a/rust/geodatafusion-geojson/src/file_format.rs b/rust/geodatafusion-geojson/src/file_format.rs index d52e03b..9d0e0b4 100644 --- a/rust/geodatafusion-geojson/src/file_format.rs +++ b/rust/geodatafusion-geojson/src/file_format.rs @@ -157,7 +157,7 @@ impl DisplayAs for GeoJsonSink { DisplayFormatType::TreeRender => { let format_name = "geojson-lines"; writeln!(f, "format: {}", format_name)?; - write!(f, "file={}", &self.config.original_url) + write!(f, "file={}", self.config.original_url) } } } diff --git a/rust/geodatafusion/src/udf/native/accessors/line_string.rs b/rust/geodatafusion/src/udf/native/accessors/line_string.rs index 2927121..0288edf 100644 --- a/rust/geodatafusion/src/udf/native/accessors/line_string.rs +++ b/rust/geodatafusion/src/udf/native/accessors/line_string.rs @@ -118,12 +118,14 @@ impl ScalarUDFImpl for EndPoint { // Not yet exported because we don't handle the nth point second argument yet #[derive(Debug, Eq, PartialEq, Hash)] -#[allow(dead_code)] +#[expect(dead_code)] struct PointN { coord_type: CoordType, } impl PointN { + // Not yet exported because we don't handle the nth point second argument yet + #[expect(dead_code)] pub fn new(coord_type: CoordType) -> Self { Self { coord_type } } @@ -135,6 +137,8 @@ impl Default for PointN { } } +// Not yet exported because we don't handle the nth point second argument yet +#[expect(dead_code)] static POINT_N_DOCUMENTATION: OnceLock = OnceLock::new(); impl ScalarUDFImpl for PointN {