Skip to content

Commit 9ef52ee

Browse files
committed
style(server-communication-config): fix cfg-gated import order
Nightly rustfmt requires cfg-gated imports to precede unconditional imports within the same group. The `#[cfg(not(target_arch = "wasm32"))] use std::collections::HashMap` must appear before `use std::sync::Arc` to satisfy the formatter's ordering rules. No logic change — import ordering only.
1 parent d7bc714 commit 9ef52ee

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/bitwarden-server-communication-config/src/middleware.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
use std::sync::Arc;
2-
31
#[cfg(not(target_arch = "wasm32"))]
42
use std::collections::HashMap;
3+
use std::sync::Arc;
54

65
use reqwest::header::HeaderValue;
76
use reqwest_middleware::{Middleware, Next, Result};

0 commit comments

Comments
 (0)