Skip to content

Commit

Permalink
address clippy in cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Aug 22, 2023
1 parent 8e22ffd commit d05f1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo/src/algorithm/linestring_segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ mod test {
let segments = linestring.line_segmentize(5).unwrap();

// assert that there are n linestring segments
assert_eq!(segments.clone().0.len(), 5);
assert_eq!(segments.0.len(), 5);

// assert that the lines are equal length
let lens = segments
Expand Down

0 comments on commit d05f1cd

Please sign in to comment.