Skip to content

Commit

Permalink
Restore necessary prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lseelenbinder committed Sep 17, 2024
1 parent fe6870d commit 9d70a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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() * size_of::<DirEntry>()
self.entries.capacity() * std::mem::size_of::<DirEntry>()
}
}

Expand Down

0 comments on commit 9d70a28

Please sign in to comment.