Skip to content

Commit

Permalink
impl Copy for *Iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
kkent030315 committed Jan 18, 2025
1 parent fa7a744 commit c12d715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pe/relocation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ impl<'a> scroll::ctx::TryFromCtx<'a, scroll::Endian> for RelocationBlock<'a> {
}
}

#[derive(Clone, Debug)]
#[derive(Clone, Copy, Debug)]
pub struct RelocationBlockIterator<'a> {
bytes: &'a [u8],
offset: usize,
Expand Down Expand Up @@ -488,7 +488,7 @@ impl RelocationWord {
}
}

#[derive(Clone, Debug)]
#[derive(Clone, Copy, Debug)]
pub struct RelocationWordIterator<'a> {
bytes: &'a [u8],
offset: usize,
Expand Down

0 comments on commit c12d715

Please sign in to comment.