Skip to content

Commit

Permalink
fixes some rustdoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chanced committed Jul 8, 2024
1 parent e6e91af commit 6cb7903
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pointer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,13 @@ impl Pointer {
/// does not exist)
/// - A [`Token`] cannot be parsed as an array [`Index`]
/// - An array [`Index`] is out of bounds
///
/// [`R::Value`]: `crate::resolve::Resolve::Value`
/// [`R::Error`]: `crate::resolve::Resolve::Error`
/// [`Resolve`]: `crate::resolve::Resolve`
/// [`ResolveError`]: `crate::resolve::ResolveError`
/// [`Token`]: crate::Token
/// [`Index`]: crate::index::Index
/// [`Token`]: `crate::Token`
/// [`Index`]: `crate::index::Index`
#[cfg(feature = "resolve")]
pub fn resolve<'v, R: crate::Resolve>(&self, value: &'v R) -> Result<&'v R::Value, R::Error> {
value.resolve(self)
Expand All @@ -296,8 +297,8 @@ impl Pointer {
/// [`R::Error`]: `crate::resolve::ResolveMut::Error`
/// [`ResolveMut`]: `crate::resolve::ResolveMut`
/// [`ResolveError`]: `crate::resolve::ResolveError`
/// [`Token`]: crate::Token
/// [`Index`]: crate::index::Index
/// [`Token`]: `crate::Token`
/// [`Index`]: `crate::index::Index`
#[cfg(feature = "resolve")]
pub fn resolve_mut<'v, R: crate::ResolveMut>(
Expand Down

0 comments on commit 6cb7903

Please sign in to comment.