Skip to content

Commit

Permalink
fix docs (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Sep 19, 2022
1 parent d04807b commit 9b7aaa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-repository/src/object/tree/mod.rs
Expand Up @@ -71,7 +71,7 @@ pub mod diff {
use git_object::TreeRefIter;
use git_odb::FindExt;

/// The error return by methods on the [diff platform][super::Platform].
/// The error return by methods on the [diff platform][Platform].
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
pub enum Error {
Expand Down Expand Up @@ -142,7 +142,7 @@ pub mod diff {
/// Diffing
impl<'repo> Tree<'repo> {
/// Return a platform to see the changes needed to create other trees, for instance.
pub fn changes<'other_repo, 'a>(&'a self) -> Platform<'a, 'repo> {
pub fn changes<'a>(&'a self) -> Platform<'a, 'repo> {
Platform {
state: Default::default(),
lhs: self,
Expand Down

0 comments on commit 9b7aaa0

Please sign in to comment.