Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Jan 10, 2025
1 parent 95e2cc9 commit 46e9c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//! // Summarize the geometry
//! let geometry = feature.geometry().unwrap();
//! let geom_type = geometry_type_to_name(geometry.geometry_type());
//! let geom_len = geometry.get_point_vec().len();
//! let geom_len = geometry.get_point_vec(&mut Vec::new());
//! println!(" Feature fid={fid:?}, geometry_type='{geom_type}', geometry_len={geom_len}");
//! // Get all the available fields and print their values
//! for field in feature.fields() {
Expand Down

0 comments on commit 46e9c4d

Please sign in to comment.