We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e75afe commit 9d1d82cCopy full SHA for 9d1d82c
bitcoin/src/blockdata/script/push_bytes.rs
@@ -167,13 +167,13 @@ mod primitive {
167
168
impl From<[u8; $len]> for PushBytesBuf {
169
fn from(bytes: [u8; $len]) -> Self {
170
- PushBytesBuf(Vec::from(&bytes as &[_]))
+ PushBytesBuf(Vec::from(&bytes))
171
}
172
173
174
impl<'a> From<&'a [u8; $len]> for PushBytesBuf {
175
fn from(bytes: &'a [u8; $len]) -> Self {
176
- PushBytesBuf(Vec::from(bytes as &[_]))
+ PushBytesBuf(Vec::from(bytes))
177
178
179
)*
0 commit comments