Skip to content

Commit bd50752

Browse files
committed
[odb #180] fix docs
1 parent eff21da commit bd50752

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

git-odb/src/store/compound/find.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{
55
store::{compound, loose},
66
};
77

8-
/// Returned by [`compound::Store::find()`]
8+
/// Returned by [`compound::Store::try_find()`]
99
#[derive(thiserror::Error, Debug)]
1010
#[allow(missing_docs)]
1111
pub enum Error {

git-odb/src/store/loose/find.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use git_pack::{data, loose::object::header};
55

66
use crate::store::loose::{sha1_path, Store, HEADER_READ_UNCOMPRESSED_BYTES};
77

8-
/// Returned by [`Store::find()`]
8+
/// Returned by [`Store::try_find()`]
99
#[derive(thiserror::Error, Debug)]
1010
#[allow(missing_docs)]
1111
pub enum Error {

git-odb/src/store/loose/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl Store {
5151

5252
/// Return an iterator over all objects contained in the database.
5353
///
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.
5555
/// _Note_ that the result is not sorted or stable, thus ordering can change between runs.
5656
///
5757
/// # Notes

0 commit comments

Comments
 (0)