chore(lint): fix lint storage (#11485)

This commit is contained in:
Emilia Hane
2024-10-04 19:19:02 +02:00
committed by GitHub
parent 1f190ad8ea
commit 16bc9c8b49
11 changed files with 31 additions and 31 deletions

View File

@ -190,14 +190,14 @@ pub struct EtlIter<'a> {
files: &'a mut Vec<EtlFile>,
}
impl<'a> EtlIter<'a> {
impl EtlIter<'_> {
/// Peeks into the next element
pub fn peek(&self) -> Option<&(Vec<u8>, Vec<u8>)> {
self.heap.peek().map(|(Reverse(entry), _)| entry)
}
}
impl<'a> Iterator for EtlIter<'a> {
impl Iterator for EtlIter<'_> {
type Item = std::io::Result<(Vec<u8>, Vec<u8>)>;
fn next(&mut self) -> Option<Self::Item> {