mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
diff: impl Clone, Debug for DiffHunkIterator
For consistency with the ranges iterator.
This commit is contained in:
parent
de2a8a579a
commit
f251f08ce7
1 changed files with 1 additions and 0 deletions
|
|
@ -839,6 +839,7 @@ pub enum DiffHunkKind {
|
|||
pub type DiffHunkContentVec<'input> = SmallVec<[&'input BStr; 2]>;
|
||||
|
||||
/// Iterator over matching and different texts.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct DiffHunkIterator<'diff, 'input> {
|
||||
diff: &'diff Diff<'input>,
|
||||
ranges: DiffHunkRangeIterator<'diff>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue