Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Sep 15, 2022
1 parent 172f73c commit 87f6db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-index/src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::collections::VecDeque;

/// initialization
impl State {
/// Takes in an oid of a tree object and creates and returns a [`State`][git_index::State] from its children.
/// Takes in an oid of a tree object and creates and returns a [`State`][crate::State] from its children.
pub fn from_tree<Find>(tree: &git_hash::oid, mut find: Find) -> Result<Self, breadthfirst::Error>
where
Find: for<'a> FnMut(&git_hash::oid, &'a mut Vec<u8>) -> Option<TreeRefIter<'a>>,
Expand Down

0 comments on commit 87f6db7

Please sign in to comment.