Skip to content

Commit 4138f0b

Browse files
committed
typo
1 parent a076578 commit 4138f0b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/geometry.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ pub enum EsriGeometry<const N: usize> {
208208
MultiPoint(EsriMultiPoint<N>),
209209
Polygon(EsriPolygon<N>),
210210
Polyline(EsriPolyline<N>),
211-
Envelope(EsriEnvelope)
211+
Envelope(EsriEnvelope),
212212
}
213213

214214
impl<const N: usize> EsriGeometry<N> {
@@ -224,15 +224,15 @@ impl<const N: usize> EsriGeometry<N> {
224224
pub fn as_multipoint(self) -> Option<EsriMultiPoint<N>> {
225225
match self {
226226
EsriGeometry::MultiPoint(p) => Some(p),
227-
_ => None
227+
_ => None,
228228
}
229229
}
230230

231231
/// Returns a polyline if possible
232232
pub fn as_polyline(self) -> Option<EsriPolyline<N>> {
233233
match self {
234234
EsriGeometry::Polyline(pl) => Some(pl),
235-
_ => None
235+
_ => None,
236236
}
237237
}
238238

@@ -248,7 +248,6 @@ impl<const N: usize> EsriGeometry<N> {
248248
// Completed: esriGeometryPoint | esriGeometryMultipoint | esriGeometryPolyline | esriGeometryPolygon |
249249
// TODO: esriGeometryEnvelope.
250250

251-
252251
#[allow(non_snake_case)]
253252
#[derive(Clone, Deserialize, Serialize, Debug)]
254253
#[skip_serializing_none]
@@ -261,5 +260,5 @@ pub struct EsriEnvelope {
261260
zmax: Option<f64>,
262261
mmin: Option<f64>,
263262
mmax: Option<f64>,
264-
spatialReference: Option<spatialReference>
263+
spatialReference: Option<SpatialReference>,
265264
}

0 commit comments

Comments
 (0)