Merge pull request #304 from fufesou/refact/suppress_warns

refact: suppress warns
This commit is contained in:
RustDesk 2025-07-28 22:14:47 +08:00 committed by GitHub
commit 57c8a23ab9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,8 +30,8 @@ pub struct WsFramedStream {
impl WsFramedStream { impl WsFramedStream {
pub async fn new<T: AsRef<str>>( pub async fn new<T: AsRef<str>>(
url: T, url: T,
local_addr: Option<SocketAddr>, _local_addr: Option<SocketAddr>,
proxy_conf: Option<&Socks5Server>, _proxy_conf: Option<&Socks5Server>,
ms_timeout: u64, ms_timeout: u64,
) -> ResultType<Self> { ) -> ResultType<Self> {
let url_str = url.as_ref(); let url_str = url.as_ref();