mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-17 00:35:20 +00:00
Fix unused_mut warning from Rust 1.93
This commit is contained in:
committed by
Benjamin Saunders
parent
4742a70e33
commit
16e1aaad53
@@ -89,7 +89,7 @@ fn make_client_endpoint(
|
||||
|
||||
let client_cfg =
|
||||
quinn::ClientConfig::new(Arc::new(QuicClientConfig::try_from(rustls_config).unwrap()));
|
||||
let mut endpoint = Endpoint::client(bind_addr)?;
|
||||
let endpoint = Endpoint::client(bind_addr)?;
|
||||
endpoint.set_default_client_config(client_cfg);
|
||||
Ok(endpoint)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user