Skip to content

Commit

Permalink
Fix new clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Dec 2, 2024
1 parent 6eb6a65 commit 1bd9d5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3151,15 +3151,15 @@ impl ContextHandling for Geometry {
}
}

impl<'a> AsRaw for ConstGeometry<'a> {
impl AsRaw for ConstGeometry<'_> {
type RawType = GEOSGeometry;

fn as_raw(&self) -> *const Self::RawType {
*self.ptr
}
}

impl<'a> ContextHandling for ConstGeometry<'a> {
impl ContextHandling for ConstGeometry<'_> {
type Context = Arc<ContextHandle>;

fn get_raw_context(&self) -> GEOSContextHandle_t {
Expand All @@ -3173,7 +3173,7 @@ impl<'a> ContextHandling for ConstGeometry<'a> {

#[cfg(test)]
mod test {
use super::*;


#[test]
#[cfg(feature = "v3_11_0")]
Expand Down

0 comments on commit 1bd9d5d

Please sign in to comment.