diff --git a/src/archive.rs b/src/archive.rs index 4ea26d4..6a7d12f 100644 --- a/src/archive.rs +++ b/src/archive.rs @@ -132,6 +132,7 @@ impl TarArchive { /// Iterates over all entries of the Tar archive. /// Returns items of type [`ArchiveEntry`]. /// See also [`ArchiveEntryIterator`]. + #[must_use] pub fn entries(&self) -> ArchiveEntryIterator { ArchiveEntryIterator::new(self.data.as_ref()) }