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:
parent
6cf10a0eb5
commit
7433687d69
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue