Skip to content

Commit

Permalink
api: impl Clone for FindRevIter
Browse files Browse the repository at this point in the history
This should have been in 051020d, but
it was overlooked.
  • Loading branch information
BurntSushi committed Dec 28, 2023
1 parent 8957028 commit d9ac66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memmem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ impl<'h, 'n> Iterator for FindIter<'h, 'n> {
///
/// `'h` is the lifetime of the haystack while `'n` is the lifetime of the
/// needle.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct FindRevIter<'h, 'n> {
haystack: &'h [u8],
finder: FinderRev<'n>,
Expand Down

0 comments on commit d9ac66d

Please sign in to comment.