mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-28 22:10:27 +08:00
bin: Make hunk diff comparable
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ pub enum HunkState {
|
||||
|
||||
/// A single review item. Can be a hunk or eg. a file move.
|
||||
/// Files are usually split into multiple review items.
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum HunkDiff {
|
||||
Added {
|
||||
path: PathBuf,
|
||||
|
||||
Reference in New Issue
Block a user