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:
		| @@ -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"[..]); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user