diff options
Diffstat (limited to 'examples/std')
| -rw-r--r-- | examples/std/src/bin/tcp_accept.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/std/src/bin/tcp_accept.rs b/examples/std/src/bin/tcp_accept.rs index d24e218dc..01695baea 100644 --- a/examples/std/src/bin/tcp_accept.rs +++ b/examples/std/src/bin/tcp_accept.rs | |||
| @@ -108,7 +108,7 @@ async fn main_task(spawner: Spawner) { | |||
| 108 | info!("Closing the connection"); | 108 | info!("Closing the connection"); |
| 109 | socket.abort(); | 109 | socket.abort(); |
| 110 | info!("Flushing the RST out..."); | 110 | info!("Flushing the RST out..."); |
| 111 | socket.flush().await; | 111 | _ = socket.flush().await; |
| 112 | info!("Finished with the socket"); | 112 | info!("Finished with the socket"); |
| 113 | } | 113 | } |
| 114 | } | 114 | } |
