Skip to content
Snippets Groups Projects
Commit a1a8c982 authored by asynchronous rob's avatar asynchronous rob Committed by GitHub
Browse files

remove unneeded as_ref call (#3349)

parent 17a851b4
Branches
No related merge requests found
......@@ -172,7 +172,7 @@ impl<H: Hasher> NodeCodecT<H> for NodeCodec<H> {
None => false,
}), bitmap.as_mut());
output[bitmap_index..bitmap_index + BITMAP_LENGTH]
.copy_from_slice(&bitmap.as_ref()[..BITMAP_LENGTH]);
.copy_from_slice(&bitmap[..BITMAP_LENGTH]);
output
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment