File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use crate::{
5
5
store:: { compound, loose} ,
6
6
} ;
7
7
8
- /// Returned by [`compound::Store::find ()`]
8
+ /// Returned by [`compound::Store::try_find ()`]
9
9
#[ derive( thiserror:: Error , Debug ) ]
10
10
#[ allow( missing_docs) ]
11
11
pub enum Error {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use git_pack::{data, loose::object::header};
5
5
6
6
use crate :: store:: loose:: { sha1_path, Store , HEADER_READ_UNCOMPRESSED_BYTES } ;
7
7
8
- /// Returned by [`Store::find ()`]
8
+ /// Returned by [`Store::try_find ()`]
9
9
#[ derive( thiserror:: Error , Debug ) ]
10
10
#[ allow( missing_docs) ]
11
11
pub enum Error {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl Store {
51
51
52
52
/// Return an iterator over all objects contained in the database.
53
53
///
54
- /// The [`Id`][git_hash::ObjectId]s returned by the iterator can typically be used in the [`locate(…)`][Store::find ()] method.
54
+ /// The [`Id`][git_hash::ObjectId]s returned by the iterator can typically be used in the [`locate(…)`][Store::try_find ()] method.
55
55
/// _Note_ that the result is not sorted or stable, thus ordering can change between runs.
56
56
///
57
57
/// # Notes
You can’t perform that action at this time.
0 commit comments