Skip to content

Commit

Permalink
Return f64 geometry (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Nov 12, 2024
1 parent 56fa3ab commit 7d58a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ use geo_traits::GeometryTrait;

use crate::error::WKBResult;

pub fn read_wkb(buf: &[u8]) -> WKBResult<impl GeometryTrait + use<'_>> {
pub fn read_wkb(buf: &[u8]) -> WKBResult<impl GeometryTrait<T = f64> + use<'_>> {
Wkb::try_new(buf)
}

0 comments on commit 7d58a23

Please sign in to comment.