chore: run cargo fmt

This commit is contained in:
Matej Janezic 2022-12-12 22:41:35 +01:00
parent 0000018072
commit 000001908e
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
3 changed files with 3 additions and 7 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "aoc"
version = "17.0.0"
version = "19.0.0"
edition = "2021"
authors = ["Matej Janežič <janezic.mj@gmail.com>"]
default-run = "aoc"

View File

@ -28,9 +28,7 @@ fn main() {
let client = Client::builder().default_headers(headers).build().unwrap();
let res = client
.get(format!(
"https://adventofcode.com/{year}/day/{day}/input"
))
.get(format!("https://adventofcode.com/{year}/day/{day}/input"))
.send()
.unwrap()
.text()

View File

@ -39,7 +39,5 @@ fn main() {
})
.sum();
println!(
"{ANSI_BOLD}Total:{ANSI_RESET} {ANSI_ITALIC}{total:.2}ms{ANSI_RESET}"
);
println!("{ANSI_BOLD}Total:{ANSI_RESET} {ANSI_ITALIC}{total:.2}ms{ANSI_RESET}");
}