no unwrap needed anymore

This commit is contained in:
stelzo 2024-04-29 21:52:49 +02:00
parent be7c7691ff
commit 12d0716b9b
No known key found for this signature in database
GPG Key ID: FC4EF89052319374
1 changed files with 1 additions and 1 deletions

View File

@ -30,5 +30,5 @@ fn convertxyz_rclrs_msg() {
let convert_back_internal: PointCloud2Msg = rclrs_msg_cloud.into();
let to_convert = ReaderXYZ::try_from(convert_back_internal).unwrap();
let back_to_type = to_convert.collect::<Vec<PointXYZ>>();
assert_eq!(copy, back_to_type.unwrap());
assert_eq!(copy, back_to_type);
}