primitives: Derive Clone on witness::Iter
There is no obvious reason why the witness iterator cannot be cloned.
This commit is contained in:
parent
41f26cf090
commit
8ec2d353c9
|
@ -361,6 +361,7 @@ impl fmt::Debug for Witness {
|
|||
}
|
||||
|
||||
/// An iterator returning individual witness elements.
|
||||
#[derive(Clone)]
|
||||
pub struct Iter<'a> {
|
||||
inner: &'a [u8],
|
||||
indices_start: usize,
|
||||
|
|
Loading…
Reference in New Issue