Skip to content

Commit

Permalink
Fixed some Clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cry-inc committed Oct 7, 2024
1 parent bb78a6b commit 2aecae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/reader_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ fn read_error_cpp_file() {
assert_eq!(pointclouds.len(), 1);
let pc = pointclouds.first().unwrap();
assert_eq!(pc.records, 2651);
let iter = e57.pointcloud_raw(&pc).unwrap();
let iter = e57.pointcloud_raw(pc).unwrap();
let mut counter = 0;
for res in iter {
let p = res.unwrap();
Expand Down Expand Up @@ -779,7 +779,7 @@ fn read_error_rust() {
assert_eq!(pointclouds.len(), 1);
let pc = pointclouds.first().unwrap();
assert_eq!(pc.records, 2651);
let iter = e57.pointcloud_raw(&pc).unwrap();
let iter = e57.pointcloud_raw(pc).unwrap();
let mut counter = 0;
for res in iter {
let p = res.unwrap();
Expand Down

0 comments on commit 2aecae4

Please sign in to comment.