gitbutler/crates/gitbutler-changeset/tests/fixtures/code2.txt
2024-04-04 13:53:03 +02:00

9 lines
331 B
Plaintext

for i in 0..hashes.len() {
for j in i+1..hashes.len() {
- let (file, hash) = &hashes[i];
+ let (first, first_hash) = &hashes[i];
let (file2, hash2) = &hashes[j];
println!("Hamming distance between {} and {}: {}", file1, file2, hash1.distance(hash2));
}
}