Skip to content

Commit c9b53a7

Browse files
committed
chore: add style_edition = "2024" to rustfmt.toml configuration as recommended in the documentation: https://github.com/rust-lang/rustfmt?tab=readme-ov-file#rusts-editions
1 parent f67bf3a commit c9b53a7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

examples/client-cardano-database-v2/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! A [FeedbackReceiver] using [indicatif] is used to nicely report the progress to the console.
66
7-
use anyhow::{anyhow, Context};
7+
use anyhow::{Context, anyhow};
88
use async_trait::async_trait;
99
use clap::Parser;
1010
use futures::Future;

examples/client-cardano-database/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! A [FeedbackReceiver] using [indicatif] is used to nicely report the progress to the console.
66
7-
use anyhow::{anyhow, Context};
7+
use anyhow::{Context, anyhow};
88
use async_trait::async_trait;
99
use clap::Parser;
1010
use futures::Future;

rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
style_edition = "2024"
12
array_width=70
23
chain_width=70

0 commit comments

Comments
 (0)