diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-07-05 23:28:04 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-07-05 23:28:04 -0400 |
commit | 2c545acf30e65446d85d9602b8c47fceb97fdfaa (patch) | |
tree | 50cba721be179a070945b1f515a198655344ab8c /src/delta.rs | |
parent | ee9de2c4cd53dfff7aa7910c3e19132de540eb2b (diff) |
Rename function: hunk_metadata -> hunk_header
Diffstat (limited to 'src/delta.rs')
-rw-r--r-- | src/delta.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delta.rs b/src/delta.rs index c51033c2..73c94bf8 100644 --- a/src/delta.rs +++ b/src/delta.rs @@ -372,7 +372,7 @@ fn handle_hunk_header_line( draw::write_no_decoration } }; - let (raw_code_fragment, line_numbers) = parse::parse_hunk_metadata(&line); + let (raw_code_fragment, line_numbers) = parse::parse_hunk_header(&line); painter.minus_line_number = line_numbers[0].0; painter.plus_line_number = line_numbers[line_numbers.len() - 1].0; if config.hunk_header_style.is_raw { |