Skip to content

Commit 5de6d4c

Browse files
committed
clippy
1 parent c5ab60b commit 5de6d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector/geometry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ impl Geometry {
278278
/// be upgraded.
279279
///
280280
/// One-dimensional data is unsupported.
281-
pub fn set_points(&mut self, in_points: &Vec<f64>, layout: CoordinateLayout) -> Result<()> {
281+
pub fn set_points(&mut self, in_points: &[f64], layout: CoordinateLayout) -> Result<()> {
282282
let coord_size = layout.coordinate_size();
283283

284284
if coord_size <= 1 {

0 commit comments

Comments
 (0)