Fix outdated comment
This commit is contained in:
parent
eabadb8301
commit
8fb12f07a1
|
@ -529,9 +529,8 @@ where
|
||||||
// shutting down. so do a heartbeat request.
|
// shutting down. so do a heartbeat request.
|
||||||
//
|
//
|
||||||
// TODO: await heartbeat and shutdown. The select
|
// TODO: await heartbeat and shutdown. The select
|
||||||
// function has some strict lifetime requirements,
|
// function needs pinned types, but pinned generics
|
||||||
// try the select! macro with a custom enum mapping
|
// are hard (#1678)
|
||||||
// (#1783, #1678)
|
|
||||||
let heartbeat = send_one_heartbeat(&mut server_tx);
|
let heartbeat = send_one_heartbeat(&mut server_tx);
|
||||||
if heartbeat_timeout(
|
if heartbeat_timeout(
|
||||||
heartbeat,
|
heartbeat,
|
||||||
|
|
Loading…
Reference in New Issue