Fix clippy errors

This commit is contained in:
2025-05-26 15:50:22 -05:00
parent da92f241eb
commit a400730c88
3 changed files with 45 additions and 63 deletions

View File

@@ -20,7 +20,7 @@ fn parse_line(line: &str) -> Result<(i64, i64), Box<dyn Error>> {
// Parse and return our two elements
let first_element = split_line[0].parse::<i64>()?;
let second_element = split_line[1].parse::<i64>()?;
return Ok((first_element, second_element));
Ok((first_element, second_element))
}
/// Part 1
@@ -108,5 +108,5 @@ fn main() -> Result<(), Box<dyn Error>> {
calculate_similarity(left_list, right_list)
);
return Ok(());
Ok(())
}