File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ impl<'a> tree::Changes<'a> {
2828 /// * The `state` maybe owned or mutably borrowed to allow reuses allocated data structures through multiple runs.
2929 /// * `locate` is a function `f(object_id, &mut buffer) -> Option<TreeIter>` to return a `TreeIter` for the given object id backing
3030 /// its data in the given buffer. Returning `None` is unexpected as these trees are obtained during iteration, and in a typical
31- /// database errors are not expected either which is why the error case is omitted. To allow proper error reporting, [`Error::NotFound `]
31+ /// database errors are not expected either which is why the error case is omitted. To allow proper error reporting, [`Error::FindExisting `]
3232 /// should be converted into a more telling error.
3333 /// * `delegate` will receive the computed changes, see the [`Visit`][`tree::Visit`] trait for more information on what to expect.
3434 ///
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use std::collections::VecDeque;
22
33use git_hash:: ObjectId ;
44
5- /// The error is part of the item returned by the [`traverse()`] function.
5+ /// The error is part of the item returned by the [`traverse()`][impl_::traverse()] function.
66#[ derive( Debug , thiserror:: Error ) ]
77#[ allow( missing_docs) ]
88pub enum Error {
You can’t perform that action at this time.
0 commit comments