Skip to content

Commit 9b7aaa0

Browse files
committed
fix docs (#470)
1 parent d04807b commit 9b7aaa0

File tree

1 file changed

+2
-2
lines changed
  • git-repository/src/object/tree

1 file changed

+2
-2
lines changed

git-repository/src/object/tree/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub mod diff {
7171
use git_object::TreeRefIter;
7272
use git_odb::FindExt;
7373

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

0 commit comments

Comments
 (0)