diff --git a/tree/src/implementations/impl_morton.rs b/tree/src/implementations/impl_morton.rs index 9d36204c..f9023ac5 100644 --- a/tree/src/implementations/impl_morton.rs +++ b/tree/src/implementations/impl_morton.rs @@ -901,7 +901,7 @@ mod test { } } false => { - let x = vec![ + let x = [ a.anchor[0] ^ b.anchor[0], a.anchor[1] ^ b.anchor[1], a.anchor[2] ^ b.anchor[2], @@ -1526,8 +1526,8 @@ mod test { let end_val = vec![b]; complete = start_val .into_iter() - .chain(complete.into_iter()) - .chain(end_val.into_iter()) + .chain(complete) + .chain(end_val) .collect(); let mut tree = MortonKeys { keys: complete,