Skip to content

Commit 287833d

Browse files
committed
use Rust Project config
1 parent ed57ac2 commit 287833d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

rustfmt.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# matches that of rust-lang/rust
2+
style_edition = "2024"
3+
use_small_heuristics = "Max"
4+
merge_derives = false
5+
group_imports = "StdExternalCrate"
6+
imports_granularity = "Module"
7+
use_field_init_shorthand = true

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use jiff::civil::Date;
2-
use jiff::ToSpan;
3-
use jiff::Zoned;
2+
use jiff::{ToSpan, Zoned};
43

54
static WEEKS: i64 = 6;
65

0 commit comments

Comments
 (0)