Skip to content

Commit

Permalink
Fix mismatch of MSRV and prefix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
lseelenbinder committed Sep 17, 2024
1 parent 9d70a28 commit 809f0ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
description = "Implementation of the PMTiles v3 spec with multiple sync and async backends."
repository = "https://github.com/stadiamaps/pmtiles-rs"
keywords = ["pmtiles", "gis", "geo"]
rust-version = "1.78.0"
rust-version = "1.81.0"
categories = ["science::geo"]

[features]
Expand Down
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() * std::mem::size_of::<DirEntry>()
self.entries.capacity() * size_of::<DirEntry>()
}
}

Expand Down

0 comments on commit 809f0ed

Please sign in to comment.