Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreilles committed Aug 18, 2023
1 parent 8e765a2 commit 73d7972
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geozero/src/gdal/gdal_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ fn process_compoundcurve<P: GeomProcessor>(
fn process_curve<P: GeomProcessor>(geo: &Geometry, idx: usize, processor: &mut P) -> Result<()> {
let ty: OGRwkbGeometryType::Type = type2d(geo.geometry_type());
match ty {
OGRwkbGeometryType::wkbLineString => process_linestring(&geo, false, idx, processor),
OGRwkbGeometryType::wkbCircularString => process_circularstring(&geo, idx, processor),
OGRwkbGeometryType::wkbCompoundCurve => process_compoundcurve(&geo, idx, processor),
OGRwkbGeometryType::wkbLineString => process_linestring(geo, false, idx, processor),
OGRwkbGeometryType::wkbCircularString => process_circularstring(geo, idx, processor),
OGRwkbGeometryType::wkbCompoundCurve => process_compoundcurve(geo, idx, processor),
_ => Err(GeozeroError::GeometryFormat),
}
}
Expand Down

0 comments on commit 73d7972

Please sign in to comment.