mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
Use portable hash function for CacheKey
(#7533)
This commit is contained in:
parent
bb4f7c681a
commit
ca3c15858d
5 changed files with 105 additions and 41 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue