summaryrefslogtreecommitdiffstats
path: root/third_party/rust/serde_json/src/value/index.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/serde_json/src/value/index.rs')
-rw-r--r--third_party/rust/serde_json/src/value/index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/rust/serde_json/src/value/index.rs b/third_party/rust/serde_json/src/value/index.rs
index c74042b75a..891ca8ef73 100644
--- a/third_party/rust/serde_json/src/value/index.rs
+++ b/third_party/rust/serde_json/src/value/index.rs
@@ -116,7 +116,7 @@ impl Index for String {
}
}
-impl<'a, T> Index for &'a T
+impl<T> Index for &T
where
T: ?Sized + Index,
{