Skip to content

Commit ecc89cc

Browse files
committed
chore: lint with rust 1.86.0
1 parent f7be0a7 commit ecc89cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/src/reader.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ pub struct TupleReader<'parent, R: ReadRaw> {
234234
parent: &'parent mut StrictReader<R>,
235235
}
236236

237-
impl<'parent, R: ReadRaw> ReadTuple for TupleReader<'parent, R> {
237+
impl<R: ReadRaw> ReadTuple for TupleReader<'_, R> {
238238
fn read_field<T: StrictDecode>(&mut self) -> Result<T, DecodeError> {
239239
self.read_fields += 1;
240240
T::strict_decode(self.parent)
@@ -247,7 +247,7 @@ pub struct StructReader<'parent, R: ReadRaw> {
247247
parent: &'parent mut StrictReader<R>,
248248
}
249249

250-
impl<'parent, R: ReadRaw> ReadStruct for StructReader<'parent, R> {
250+
impl<R: ReadRaw> ReadStruct for StructReader<'_, R> {
251251
fn read_field<T: StrictDecode>(&mut self, field: FieldName) -> Result<T, DecodeError> {
252252
self.named_fields.push(field);
253253
T::strict_decode(self.parent)

0 commit comments

Comments
 (0)