Skip to content

Commit 0977b0c

Browse files
clippy fix for Rust 1.83.0 (#79)
1 parent 6640658 commit 0977b0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pub enum JsonPtr<'a, Data> {
174174
}
175175

176176
/// Allow deref from json pointer to value.
177-
impl<'a> Deref for JsonPtr<'a, Value> {
177+
impl Deref for JsonPtr<'_, Value> {
178178
type Target = Value;
179179

180180
fn deref(&self) -> &Self::Target {

src/path/top.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl<'a, T> ObjectField<'a, T> {
111111
}
112112
}
113113

114-
impl<'a, T> Clone for ObjectField<'a, T> {
114+
impl<T> Clone for ObjectField<'_, T> {
115115
fn clone(&self) -> Self {
116116
ObjectField::new(self.key)
117117
}

0 commit comments

Comments
 (0)