I realized having to host this potentially indefinitely might not be the best idea, so I am going to shut down this gitea instance eventually.
You’ll have time, at least until the end of 2022, probably longer, but please just get all your stuff somewhere safe in case we ever disappear.
If any of your build scripts rely on my (kageru’s) projects hosted here, check my Github or IEW on Github for encoding projects. If you can’t find what you’re looking there, tell me to migrate it.

Bugfix for day2

master
attila 4 years ago
parent f5ab8bba97
commit d98b679967

@ -52,8 +52,6 @@ fn find_common_letters(lines: &Vec<&str>) -> Result<Vec<char> , std::io::Error>
let mismatches = line.chars().zip(line2.chars()).filter(|&(a, b)| a != b).count();
if mismatches == 1 {
let result: Vec<(char,char)> = line.chars().zip(line2.chars()).filter(|&(a, b)| a == b).collect();
let candidate1: Vec<char> = line.chars().collect();
let candidate2: Vec<char> = line2.chars().collect();
@ -65,7 +63,7 @@ fn find_common_letters(lines: &Vec<&str>) -> Result<Vec<char> , std::io::Error>
}
}
return Ok(test);
return Ok(result);
}
}
}

Loading…
Cancel
Save