gitbutler/gitbutler-diff/fixture/code1.txt

9 lines
326 B
Plaintext
Raw Normal View History

2024-01-15 16:50:59 +03:00
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));
}
}