aboutsummaryrefslogtreecommitdiff
path: root/tests/io_driver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io_driver.rs')
-rw-r--r--tests/io_driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/io_driver.rs b/tests/io_driver.rs
index 2ca5630..97018e0 100644
--- a/tests/io_driver.rs
+++ b/tests/io_driver.rs
@@ -80,7 +80,7 @@ fn test_drop_on_notify() {
drop(task);
// Establish a connection to the acceptor
- let _s = TcpStream::connect(&addr).unwrap();
+ let _s = TcpStream::connect(addr).unwrap();
// Force the reactor to turn
rt.block_on(async {});