Skip to content

Commit 11e7712

Browse files
authored
style: remove explicit lifetimes where they can be elided (#68)
* remove explicit lifetimes where they can be elided * fixup rustfmt config file
1 parent 7c5d37d commit 11e7712

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.rustfmt.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version = "Two"
21
use_field_init_shorthand = true
32
imports_granularity="Crate"
43
wrap_comments = true

src/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ where
166166
decoder: &'a mut Decoder<M, R>,
167167
}
168168

169-
impl<'a, M, R> Iterator for DecodeIter<'a, M, R>
169+
impl<M, R> Iterator for DecodeIter<'_, M, R>
170170
where
171171
M: Model,
172172
R: BitRead,

0 commit comments

Comments
 (0)