Closed codeguru42 closed 1 week ago
From what I can tell you have to specify the length of the array like [u8; 12]
. Is there a way to make the length generic or should I use Vec<u8>
instead?
This is working for PartialEq
for PyBytes
and [u8]
. Do we want to merge this as-is or should I also add impls
for [u8; N]
as suggested above by icxolu?
I think I fixed one of the examples in the doc comment. I'm not sure how to fix the second one, though.
Changelog is wrong, so let's remember to fix when we do the release!
This is my attempt to implement
PartialEq
forPyBytes
and[u8]
. See #4250.