Skip to content

Commit

Permalink
Correct documentation URL for Value's Index impl.
Browse files Browse the repository at this point in the history
The current id doesn't exist, so the link just goes to the top of the docs for
Value, rather than to the intended section covering `impl<I> Index<I> for
Value`.
  • Loading branch information
dpathakj committed Jul 2, 2024
1 parent bcedc3d commit fcb5e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/value/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use core::ops;
///
/// [`get`]: ../enum.Value.html#method.get
/// [`get_mut`]: ../enum.Value.html#method.get_mut
/// [square-bracket indexing operator]: ../enum.Value.html#impl-Index%3CI%3E
/// [square-bracket indexing operator]: ../enum.Value.html#impl-Index%3CI%3E-for-Value
///
/// This trait is sealed and cannot be implemented for types outside of
/// `serde_json`.
Expand Down

0 comments on commit fcb5e83

Please sign in to comment.