2025: fix cargo fmt

Turns out rustfmt needs a --edition 2024 flag (which cargo fmt adds
automatically), otherwise some imports change order. Of course my editor
is configured to use rustfmt via apheleia, which does not support cargo
fmt. Urgh.
This commit is contained in:
Antoine Martin 2025-12-08 16:39:11 +01:00
parent 6cf10a0eb5
commit 7433687d69
4 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
use std::{fmt::Write, str::FromStr};
use anyhow::{bail, Result};
use anyhow::{Result, bail};
const INPUT: &str = include_str!("../input/day01.txt");
const DIAL_SIZE: u16 = 100;