Skip to content

Commit

Permalink
Merge pull request #162 from GuillaumeGomez/fix-clippy
Browse files Browse the repository at this point in the history
Fix new clippy lints
  • Loading branch information
GuillaumeGomez authored Dec 2, 2024
2 parents 6eb6a65 + 9af78fc commit 0a7d579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 Down

0 comments on commit 0a7d579

Please sign in to comment.