mirror of
https://github.com/rustdesk/hbb_common.git
synced 2025-08-16 16:45:39 +00:00
refact: suppress warns
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
f91459c4ab
commit
7f80d78614
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user