From 82a7b37e217c82f27a3877d4c84d3cd6240231bb Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Fri, 22 Dec 2023 23:10:25 -0500 Subject: [PATCH] lint --- src/directory.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/directory.rs b/src/directory.rs index 45fdf3a..3a94541 100644 --- a/src/directory.rs +++ b/src/directory.rs @@ -40,6 +40,7 @@ impl Directory { } /// Get an estimated byte size of the directory object. Use this for cache eviction. + #[must_use] pub fn get_approx_byte_size(&self) -> usize { self.entries.capacity() * std::mem::size_of::() }