Skip to content

Commit

Permalink
fix docs (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 18, 2021
1 parent dde5c6b commit 360bf9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion git-odb/src/store/general/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::general::handle;
mod error {
use crate::{loose, pack};

/// Returned by [`compound::Store::try_find()`]
/// Returned by [`Handle::try_find()`][crate::pack::Find::try_find()]
#[derive(thiserror::Error, Debug)]
#[allow(missing_docs)]
pub enum Error {
Expand Down
2 changes: 1 addition & 1 deletion git-odb/src/store/general/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ where
}

impl general::Store {
/// Like [`Handle::iter()`][super:Handle::iter()].
/// Like [`Handle::iter()`][super::Handle::iter()], but accessible directly on the store.
pub fn iter(&self) -> Result<AllObjects, general::load_index::Error> {
AllObjects::new(self)
}
Expand Down
2 changes: 1 addition & 1 deletion git-odb/src/store/general/load_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub(crate) struct Snapshot {
mod error {
use std::path::PathBuf;

/// Returned by [`general::Store::at_opts()`]
/// Returned by [`crate::at_opts()`]
#[derive(thiserror::Error, Debug)]
#[allow(missing_docs)]
pub enum Error {
Expand Down

0 comments on commit 360bf9d

Please sign in to comment.