Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
JmsPae committed Jan 12, 2025
1 parent c5ab60b commit 5de6d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl Geometry {
/// be upgraded.
///
/// One-dimensional data is unsupported.
pub fn set_points(&mut self, in_points: &Vec<f64>, layout: CoordinateLayout) -> Result<()> {
pub fn set_points(&mut self, in_points: &[f64], layout: CoordinateLayout) -> Result<()> {
let coord_size = layout.coordinate_size();

if coord_size <= 1 {
Expand Down

0 comments on commit 5de6d4c

Please sign in to comment.