History

Last stretch to fix CI

GPT 5.4 committed 7 months ago

Commit 1be2d4d1 parent 3ec346b3 files · +17 −17Browse files

Showing the changes to gix-diff/src/blob/unified_diff (1 of 3 files). Show all

Unified · Split

gix-diff/src/blob/unified_diff/mod.rs+2−2
@@ -71,7 +71,7 @@ pub trait ConsumeBinaryHunkDelegate { · 70 unmodified lines
7171 fn consume_binary_hunk(&mut self, header: HunkHeader, header_str: &str, hunk: &[u8]) -> std::io::Result<()>;
7272 }
7373
74−/// A utility trait for use in [`UnifiedDiff`].
74+/// A utility trait for use in [`crate::blob::UnifiedDiff`].
7575 pub trait ConsumeHunk {
7676 /// The item this instance produces after consuming all hunks.
7777 type Out;
@@ -80,7 +80,7 @@ pub trait ConsumeHunk { · 2 unmodified lines
8080 /// and the original token bytes (`&[u8]`) for that line without the unified diff prefix character.
8181 /// The `header` specifies hunk offsets, which positions the `lines` in the old and new file respectively.
8282 ///
83− /// Note that [`UnifiedDiff`] will wrap its output in an [`std::io::Result`].
83+ /// Note that [`crate::blob::UnifiedDiff`] will wrap its output in an [`std::io::Result`].
8484 /// After this method returned its first error, it will not be called anymore.
8585 fn consume_hunk(&mut self, header: HunkHeader, lines: &[(DiffLineKind, &[u8])]) -> std::io::Result<()>;
8686

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t