fix(rustup): 1.0.0-nightly (e2fa53e59 2015-03-20)

* replace `char_at()` calls with itertor, as suggested by compiler
* fixed comparison in test
This commit is contained in:
Sebastian Thiel
2015-03-21 16:53:03 +01:00
parent 5d7be77e4a
commit f547080df5
3 changed files with 5 additions and 3 deletions

View File

@@ -264,6 +264,6 @@ mod tests {
");
handle_connection(&mut mock, &Reject);
assert_eq!(mock.write, b"HTTP/1.1 417 Expectation Failed\r\n\r\n");
assert_eq!(mock.write, &b"HTTP/1.1 417 Expectation Failed\r\n\r\n"[..]);
}
}