chore: run cargo fmt
This commit is contained in:
parent
0000018072
commit
000001908e
|
@ -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"
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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}");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue