Skip to content

Commit 900ccc3

Browse files
committed
Run clippy fix
1 parent 1779056 commit 900ccc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/maxminddb/decoder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ struct ArrayAccess<'a, 'de: 'a> {
379379

380380
// `SeqAccess` is provided to the `Visitor` to give it the ability to iterate
381381
// through elements of the sequence.
382-
impl<'de, 'a> SeqAccess<'de> for ArrayAccess<'a, 'de> {
382+
impl<'de> SeqAccess<'de> for ArrayAccess<'_, 'de> {
383383
type Error = MaxMindDBError;
384384

385385
fn next_element_seed<T>(&mut self, seed: T) -> DecodeResult<Option<T::Value>>
@@ -404,7 +404,7 @@ struct MapAccessor<'a, 'de: 'a> {
404404

405405
// `MapAccess` is provided to the `Visitor` to give it the ability to iterate
406406
// through entries of the map.
407-
impl<'de, 'a> MapAccess<'de> for MapAccessor<'a, 'de> {
407+
impl<'de> MapAccess<'de> for MapAccessor<'_, 'de> {
408408
type Error = MaxMindDBError;
409409

410410
fn next_key_seed<K>(&mut self, seed: K) -> DecodeResult<Option<K::Value>>

0 commit comments

Comments
 (0)