mirror of
https://gitlab.com/MisterBiggs/aoc-2023-rust.git
synced 2025-06-16 06:56:50 +00:00
clippy stuff
This commit is contained in:
parent
2eb390c17b
commit
e9a8cc657b
@ -3,7 +3,7 @@ use std::cmp;
|
|||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
pub fn run() {
|
pub fn run() {
|
||||||
println!("Day 1:");
|
println!("Day 2:");
|
||||||
let input = fs::read_to_string("./inputs/day2.txt").expect("Could not read file");
|
let input = fs::read_to_string("./inputs/day2.txt").expect("Could not read file");
|
||||||
|
|
||||||
println!("\tPart 1: {}", part1(&input));
|
println!("\tPart 1: {}", part1(&input));
|
||||||
|
@ -4,7 +4,7 @@ use itertools::Itertools;
|
|||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
|
|
||||||
pub fn run() {
|
pub fn run() {
|
||||||
println!("Day 1:");
|
println!("Day 3:");
|
||||||
let input = fs::read_to_string("./inputs/day3.txt").expect("Could not read file");
|
let input = fs::read_to_string("./inputs/day3.txt").expect("Could not read file");
|
||||||
|
|
||||||
println!("\tPart 1: {}", part1(&input));
|
println!("\tPart 1: {}", part1(&input));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user