Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 9d7133d

Browse files
committed
1 parent c19fef8 commit 9d7133d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/examples/client/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ fn make_and_print_request(url: ~str) {
4848
}
4949
println("Body:");
5050
let body = response.read_to_end();
51-
println(str::from_utf8_slice(body));
51+
println(str::from_utf8(body));
5252
}

0 commit comments

Comments
 (0)