diff options
| author | Steven Fackler <[email protected]> | 2016-02-08 23:20:19 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-02-08 23:20:19 -0800 |
| commit | 643a4a58c97cc9e325a94289b0802476fa9840c7 (patch) | |
| tree | 632793247619492794e9d7d19687ee3334be4d30 /openssl/src/ssl | |
| parent | Stop using deprecated method (diff) | |
| download | rust-openssl-643a4a58c97cc9e325a94289b0802476fa9840c7.tar.xz rust-openssl-643a4a58c97cc9e325a94289b0802476fa9840c7.zip | |
More deprecated function cleanup
Diffstat (limited to 'openssl/src/ssl')
| -rw-r--r-- | openssl/src/ssl/tests/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/ssl/tests/mod.rs b/openssl/src/ssl/tests/mod.rs index d89c87ee..be35d7ef 100644 --- a/openssl/src/ssl/tests/mod.rs +++ b/openssl/src/ssl/tests/mod.rs @@ -118,7 +118,7 @@ impl Server { // Need to wait for the UDP socket to get bound in our child process, // but don't currently have a great way to do that so just wait for a // bit. - thread::sleep_ms(100); + thread::sleep(Duration::from_millis(100)); let socket = UdpSocket::bind(next_addr()).unwrap(); socket.connect(&addr).unwrap(); (s, UdpConnected(socket)) |