Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Oct 28, 2022
1 parent 24254a4 commit 7d5fb3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-repository/src/object/tree/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ pub mod change {

impl<'old, 'new> DiffPlatform<'old, 'new> {
/// Perform a diff on lines between the old and the new version of a blob.
/// Note that the [`Sink`][git_diff::lines::imara_diff::Sink] implementation is
/// what makes the diff usable and relies heavily on what the caller requires.
/// Note that the [`Sink`][git_diff::text::imara::Sink] implementation is
/// what makes the diff usable and relies heavily on what the caller requires, as created by `make_sink`.
pub fn lines<FnS, S>(&self, algorithm: git_diff::text::Algorithm, make_sink: FnS) -> S::Out
where
FnS: for<'a> FnOnce(&git_diff::text::imara::intern::InternedInput<&'a [u8]>) -> S,
Expand Down

0 comments on commit 7d5fb3c

Please sign in to comment.