diff options
| author | Steven Fackler <[email protected]> | 2014-04-07 23:29:37 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-04-07 23:29:37 -0700 |
| commit | f6ce65ca31fd8a8db6736a92e5ac62dcf83d4215 (patch) | |
| tree | f2551a5164bbc01e43086459df47f35a925168c3 | |
| parent | Update for libc split (diff) | |
| download | rust-openssl-f6ce65ca31fd8a8db6736a92e5ac62dcf83d4215.tar.xz rust-openssl-f6ce65ca31fd8a8db6736a92e5ac62dcf83d4215.zip | |
Update for IO changes
| -rw-r--r-- | ssl/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/tests.rs b/ssl/tests.rs index a0f1f378..c169927f 100644 --- a/ssl/tests.rs +++ b/ssl/tests.rs @@ -157,5 +157,5 @@ fn test_read() { stream.write("GET /\r\n\r\n".as_bytes()).unwrap(); stream.flush().unwrap(); let buf = stream.read_to_end().ok().expect("read error"); - print!("{}", str::from_utf8(buf)); + print!("{}", str::from_utf8(buf.as_slice())); } |