diff --git a/src/vector/geometry.rs b/src/vector/geometry.rs index 54a337c85..03ba4ef1c 100644 --- a/src/vector/geometry.rs +++ b/src/vector/geometry.rs @@ -215,7 +215,7 @@ impl Geometry { let geom = unsafe { self.get_unowned_geometry(index) }; GeometryRef { geom, - _lifetime: PhantomData::default(), + _lifetime: PhantomData, } } diff --git a/src/vsi.rs b/src/vsi.rs index 66e760563..b09e99984 100644 --- a/src/vsi.rs +++ b/src/vsi.rs @@ -81,7 +81,7 @@ impl<'d> MemFileRef<'d> { pub fn new(file_name: &Path) -> MemFileRef<'d> { Self { file_name: file_name.into(), - data_ref: PhantomData::default(), + data_ref: PhantomData, } } }