diff options
| author | Steven Fackler <[email protected]> | 2014-12-15 12:25:20 -0500 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-12-15 12:25:20 -0500 |
| commit | a2341541d690f079f08a06a2a53135906822a187 (patch) | |
| tree | 31556933a11bcee952ba76efa7fe968e7630ec24 /src/ssl/tests.rs | |
| parent | Release v0.2.3 (diff) | |
| parent | Track master: proc removal, tuple indexing (diff) | |
| download | rust-openssl-a2341541d690f079f08a06a2a53135906822a187.tar.xz rust-openssl-a2341541d690f079f08a06a2a53135906822a187.zip | |
Merge pull request #122 from vhbit/proc_removal
Track master: proc removal, tuple indexing
Diffstat (limited to 'src/ssl/tests.rs')
| -rw-r--r-- | src/ssl/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/tests.rs b/src/ssl/tests.rs index e4414f84..127b87d1 100644 --- a/src/ssl/tests.rs +++ b/src/ssl/tests.rs @@ -198,7 +198,7 @@ fn test_clone() { let stream = TcpStream::connect("127.0.0.1:15418").unwrap(); let mut stream = SslStream::new(&SslContext::new(Sslv23).unwrap(), stream).unwrap(); let mut stream2 = stream.clone(); - spawn(proc() { + spawn(move || { stream2.write("GET /\r\n\r\n".as_bytes()).unwrap(); stream2.flush().unwrap(); }); |