jj/lib
Yuya Nishihara 383cca4c4d diff: return matching hunk contents from all inputs
We're likely to use the right (or new) context lines in rendered diffs, but
it's odd that the hunks iterator choose which context hunk to return. We'll
also need both contents to calculate left/right line numbers.

Since the hunk content types are the same, I also split enum DiffHunk into
{ kind, contents } pair.
2024-10-06 09:45:27 +09:00
..
benches style: add semicolon at the end of expressions used as statements 2024-10-04 22:29:13 +02:00
gen-protos cargo: inherit lints configuration from workspace 2024-10-04 22:29:13 +02:00
proc-macros style: remove useless uses of .iter() 2024-10-04 22:29:13 +02:00
src diff: return matching hunk contents from all inputs 2024-10-06 09:45:27 +09:00
tests style: avoid using .to_owned()/.to_vec() on owned objects 2024-10-04 22:29:13 +02:00
testutils cargo: inherit lints configuration from workspace 2024-10-04 22:29:13 +02:00
Cargo.toml cargo: add hashbrown dependency 2024-10-05 08:12:30 +09:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00