mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(lint): fix lint storage (#11485)
This commit is contained in:
@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user