Don't unwrap when trying to close the writer half in 08/07

This commit is contained in:
LukeMathWalker 2024-05-16 15:32:27 +02:00
parent 0665cf0b25
commit 17cfa531ba
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ mod tests {
writer.write_all(end.as_bytes()).await.unwrap(); writer.write_all(end.as_bytes()).await.unwrap();
// Close the write side of the socket // Close the write side of the socket
writer.shutdown().await.unwrap(); let _ = writer.shutdown().await;
} }
let buffered = handle.await.unwrap(); let buffered = handle.await.unwrap();