mirror of
https://github.com/Such-Software/smirk-backend-core.git
synced 2026-12-01 21:14:11 +01:00
chore: cargo fmt with current stable rustfmt (repo-wide)
The repo pins channel=stable (no rustfmt version), so CI now pulls rustfmt 1.9.0, which reformats code last touched by an older rustfmt. main itself failed `cargo fmt --check` under the current toolchain; this is a formatting-only sweep across 24 files to make the fmt gate green. No behavior change; tests + clippy -D warnings still pass.
This commit is contained in:
+8
-7
@@ -197,13 +197,14 @@ impl TestApp {
|
||||
extra_headers: &[(&str, &str)],
|
||||
body: Option<Value>,
|
||||
) -> (StatusCode, axum::http::HeaderMap, Value) {
|
||||
let mut builder = Request::builder()
|
||||
.method(method)
|
||||
.uri(uri)
|
||||
.extension(axum::extract::ConnectInfo(std::net::SocketAddr::from((
|
||||
[127, 0, 0, 1],
|
||||
0,
|
||||
))));
|
||||
let mut builder =
|
||||
Request::builder()
|
||||
.method(method)
|
||||
.uri(uri)
|
||||
.extension(axum::extract::ConnectInfo(std::net::SocketAddr::from((
|
||||
[127, 0, 0, 1],
|
||||
0,
|
||||
))));
|
||||
for (k, v) in extra_headers {
|
||||
builder = builder.header(*k, *v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user