From fcb5e83e44abe0f9c27c755a240a6ad56312c090 Mon Sep 17 00:00:00 2001 From: David Pathakjee Date: Tue, 2 Jul 2024 12:22:42 -0700 Subject: [PATCH] Correct documentation URL for Value's Index impl. 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 Index for Value`. --- src/value/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/value/index.rs b/src/value/index.rs index 891ca8ef7..c56135b33 100644 --- a/src/value/index.rs +++ b/src/value/index.rs @@ -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`.