fix clippy

This commit is contained in:
Irevoire 2022-10-22 16:35:42 +02:00
parent e35bc48ba6
commit 3283bb0454
No known key found for this signature in database
GPG key ID: 7A6A970C96104F1B
31 changed files with 125 additions and 124 deletions

View file

@ -138,10 +138,10 @@ impl V5Reader {
pub fn indexes(&self) -> Result<impl Iterator<Item = Result<V5IndexReader>> + '_> {
Ok(self.index_uuid.iter().map(|index| -> Result<_> {
Ok(V5IndexReader::new(
V5IndexReader::new(
index.uid.clone(),
&self.dump.path().join("indexes").join(index.index_meta.uuid.to_string()),
)?)
)
}))
}