mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: use encoded bytes for Tuple hashing
This commit is contained in:
parent
af332e78ea
commit
6f2b642d59
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ impl Eq for Tuple {}
|
||||||
|
|
||||||
impl Hash for Tuple {
|
impl Hash for Tuple {
|
||||||
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
||||||
self.1.hash(state);
|
self.1.as_strand().encoded_bytes().hash(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue