Fix clippy errors
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user