We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ab60b commit 5de6d4cCopy full SHA for 5de6d4c
src/vector/geometry.rs
@@ -278,7 +278,7 @@ impl Geometry {
278
/// be upgraded.
279
///
280
/// One-dimensional data is unsupported.
281
- 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<()> {
282
let coord_size = layout.coordinate_size();
283
284
if coord_size <= 1 {
0 commit comments