mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 17:08:00 +00:00
remove unneeded as_ref call (#3349)
This commit is contained in:
committed by
GitHub
parent
17a851b433
commit
a1a8c9829e
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user