cli: Small fix to ddif parsing

This commit is contained in:
cloudhead 2024-06-24 12:09:44 +02:00
parent f8c6cf8bf9
commit c94ce020a1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ impl unified_diff::Decode for DiffModification {
line: chars.as_str().to_string().into(),
line_no: 0,
},
('+', '-') => DiffModification::DeletionDeletion {
('+', '-') => DiffModification::DeletionAddition {
line: chars.as_str().to_string().into(),
line_no: 0,
},