Skip to content

Commit 936cfd3

Browse files
committed
[git-odb] fix docs
1 parent efd20d4 commit 936cfd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl compound::Backend {
7373
}
7474

7575
/// Special-use function to look up an object index. Used to avoid double-lookups in
76-
/// [compound::Backend::find()][crate::compound::Backend::find()]. (The polonius borrow-checker would support this via the 'find'
76+
/// [compound::Backend::find()][crate::store::compound::Backend::find()]. (The polonius borrow-checker would support this via the 'find'
7777
/// function, so this can be [simplified](https://github.com/Byron/gitoxide/blob/0c5f4043da4615820cb180804a81c2d4fe75fe5e/git-odb/src/compound/locate.rs#L47)
7878
/// once polonius is stable.)
7979
pub fn find_pack_index(bundle: &git_pack::Bundle, id: &git_hash::oid) -> Option<u32> {

git-odb/src/store/sink.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::{
77

88
/// An object database equivalent to `/dev/null`, dropping all objects stored into it.
99
///
10-
/// It can optionally compress the content, similarly to what would happen when using a [`loose::Backend`][crate::loose::Backend].
10+
/// It can optionally compress the content, similarly to what would happen when using a [`loose::Backend`][crate::store::loose::Backend].
1111
///
1212
pub struct Sink {
1313
compressor: Option<RefCell<deflate::Write<io::Sink>>>,

0 commit comments

Comments
 (0)