mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-02 10:05:36 +00:00
drop extra move
This commit is contained in:
parent
730af453f6
commit
70fc128c29
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ impl Client {
|
||||||
socket.set_timeout(DEFAULT_TIMEOUT);
|
socket.set_timeout(DEFAULT_TIMEOUT);
|
||||||
|
|
||||||
// Connect events
|
// Connect events
|
||||||
socket.connect_event(move |_, event, _, stream| {
|
socket.connect_event(|_, event, _, stream| {
|
||||||
// This condition have effect only for guest TLS connections
|
// This condition have effect only for guest TLS connections
|
||||||
// * for user certificates validation, use `Connection` impl
|
// * for user certificates validation, use `Connection` impl
|
||||||
if event == SocketClientEvent::TlsHandshaking {
|
if event == SocketClientEvent::TlsHandshaking {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue