From 3e8324913f803207ee2eba478c298692e4a45c72 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 3 Oct 2025 19:36:46 +0100 Subject: [PATCH] Another doc comment --- src/display/hunks.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/display/hunks.rs b/src/display/hunks.rs index 06187393a..22addc117 100644 --- a/src/display/hunks.rs +++ b/src/display/hunks.rs @@ -623,6 +623,9 @@ fn either_side_equal( false } +/// Given a set of matched lines between the LHS and RHS, return the +/// start and end indexes in `matched_lines` that should be displayed +/// for `hunk`. pub(crate) fn matched_lines_indexes_for_hunk( matched_lines: &[(Option, Option)], hunk: &Hunk,