mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 02:51:57 +03:00
9 lines
326 B
Plaintext
9 lines
326 B
Plaintext
|
for i in 0..hashes.len() {
|
||
|
for j in i+1..hashes.len() {
|
||
|
- let (file, hash) = &hashes[i];
|
||
|
+ let (file1, hash1) = &hashes[i];
|
||
|
let (file2, hash2) = &hashes[j];
|
||
|
println!("Hamming distance between {} and {}: {}", file1, file2, hash1.distance(hash2));
|
||
|
}
|
||
|
}
|