Use portable hash function for CacheKey (#7533)

This commit is contained in:
Micha Reiser 2023-09-20 15:19:59 +02:00 committed by GitHub
parent bb4f7c681a
commit ca3c15858d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 105 additions and 41 deletions

View file

@ -6,6 +6,6 @@ use crate::{CacheKey, CacheKeyHasher};
impl CacheKey for FileTime {
fn cache_key(&self, state: &mut CacheKeyHasher) {
self.hash(&mut **state);
self.hash(&mut *state);
}
}