From 3a50ddd0c98fc8a73e0c16c6f83281e14ff26537 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 15 Feb 2019 10:12:35 +0100 Subject: [PATCH] backup/chunk_store: mark ChunkIterator as fused Ranges are FusedIterators and it can be useful to propagate that property to users. Signed-off-by: Wolfgang Bumiller --- src/backup/chunk_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backup/chunk_store.rs b/src/backup/chunk_store.rs index 06b6b74c..9a95e8ca 100644 --- a/src/backup/chunk_store.rs +++ b/src/backup/chunk_store.rs @@ -193,7 +193,7 @@ impl ChunkStore { &self, print_percentage: bool, ) -> Result< - impl Iterator>, + impl Iterator> + std::iter::FusedIterator, Error > { use nix::dir::Dir;