Don't unwrap when trying to close the writer half in 08/07
This commit is contained in:
1 parent
0665cf0b25
commit
17cfa531ba
1 file changed
+1
-1
@@ -41,7 +41,7 @@ mod tests {
|
||||
writer.write_all(end.as_bytes()).await.unwrap();
|
||||
|
||||
// Close the write side of the socket
|
||||
writer.shutdown().await.unwrap();
|
||||
let _ = writer.shutdown().await;
|
||||
}
|
||||
|
||||
let buffered = handle.await.unwrap();
|
||||
|
||||
Reference in new issue
Block a user