Skip to content

Commit 58a1f69

Browse files
style: fix nightly rustfmt import grouping in generic_client.rs
CI runs `cargo +nightly fmt --all -- --check` with the workspace's `group_imports = StdExternalCrate` rule, which stable rustfmt silently ignores (unstable feature). The `use agent_tunnel::AgentTunnelHandle;` line belonged in the external-crate group (with `anyhow`, `tokio`, etc.) not after the `crate::*` group.
1 parent 2547aa7 commit 58a1f69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devolutions-gateway/src/generic_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use std::net::SocketAddr;
22
use std::sync::Arc;
33

4+
use agent_tunnel::AgentTunnelHandle;
45
use anyhow::Context as _;
56
use tokio::io::{AsyncRead, AsyncWrite, AsyncWriteExt as _};
67
use tracing::field;
@@ -15,7 +16,6 @@ use crate::session::{ConnectionModeDetails, DisconnectInterest, SessionInfo, Ses
1516
use crate::subscriber::SubscriberSender;
1617
use crate::token::{self, ConnectionMode, CurrentJrl, RecordingPolicy, TokenCache};
1718
use crate::utils;
18-
use agent_tunnel::AgentTunnelHandle;
1919

2020
#[derive(TypedBuilder)]
2121
pub struct GenericClient<S> {

0 commit comments

Comments
 (0)