rust/edition/fmt: 2021 → 2024

Reformat code with `rustfmt`, now that the edition changed from
Rust 2021 to Rust 2024.
This commit is contained in:
Lorenz Leutgeb
2026-03-30 16:57:51 +02:00
parent 0494227e75
commit 8bac24d6ab
234 changed files with 784 additions and 689 deletions
+4 -5
View File
@@ -2,7 +2,7 @@ use std::path::PathBuf;
use std::str::FromStr;
use radicle::cob::cache::COBS_DB_FILE;
use radicle::crypto::ssh::{keystore::MemorySigner, Keystore};
use radicle::crypto::ssh::{Keystore, keystore::MemorySigner};
use radicle::crypto::{KeyPair, Seed};
use radicle::git;
use radicle::node::policy::store as policy;
@@ -47,10 +47,9 @@ pub(crate) mod config {
},
..Limits::default()
},
external_addresses: vec![node::Address::from_str(&format!(
"{alias}.radicle.example:8776"
))
.unwrap()],
external_addresses: vec![
node::Address::from_str(&format!("{alias}.radicle.example:8776")).unwrap(),
],
..node(alias)
}
}