Skip to content

Commit aed5965

Browse files
committed
style: Fix clippy lints
1 parent 5a4594d commit aed5965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl<'a> BytesToHexChars<'a> {
9494
}
9595
}
9696

97-
impl<'a> Iterator for BytesToHexChars<'a> {
97+
impl Iterator for BytesToHexChars<'_> {
9898
type Item = char;
9999

100100
fn next(&mut self) -> Option<Self::Item> {
@@ -114,7 +114,7 @@ impl<'a> Iterator for BytesToHexChars<'a> {
114114
}
115115
}
116116

117-
impl<'a> iter::ExactSizeIterator for BytesToHexChars<'a> {
117+
impl iter::ExactSizeIterator for BytesToHexChars<'_> {
118118
fn len(&self) -> usize {
119119
let mut length = self.inner.len() * 2;
120120
if self.next.is_some() {

0 commit comments

Comments
 (0)