Skip to content

Commit 90c9dc9

Browse files
committed
Correctly set style_edition for rustfmt
Oops. I had a misalignment between `cargo fmt` and editor autosave, which showed up in a YAML parser change. Should be good now.
1 parent 7b810a4 commit 90c9dc9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rustfmt.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
style_edition = "2024"
2+
13
# Hard tabs provide significant accessibility benefits over Rust's preferred 4-space indentation.
24
# See e.g. https://redd.it/c8drjo, https://github.com/prettier/prettier/issues/7475#issuecomment-668544890.
35
hard_tabs = true

src/yaml/chunker/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//! [libyaml]: https://pyyaml.org/wiki/LibYAML
99
1010
use std::error::Error;
11-
use std::ffi::{c_char, c_void, CStr};
11+
use std::ffi::{CStr, c_char, c_void};
1212
use std::fmt::Display;
1313
use std::io::{self, Read};
1414
use std::mem::MaybeUninit;

0 commit comments

Comments
 (0)