From b5a6175bf52677a179ab2880bb9de447fe383fd7 Mon Sep 17 00:00:00 2001 From: Camille TJHOA Date: Tue, 10 Feb 2015 22:44:00 +0100 Subject: [PATCH] docs(readme): Make the README client example work `res` needs to be mutable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f9ffd4d1..c5506b05 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ fn main() { let mut client = Client::new(); // Creating an outgoing request. - let res = client.get("http://www.gooogle.com/") + let mut res = client.get("http://www.gooogle.com/") // set a header .header(Connection(vec![Close])) // let 'er go!