Some final rustfmt changes.
This commit is contained in:
		| @@ -49,13 +49,10 @@ impl Body { | ||||
| pub fn read_to_string(mut body: Body) -> ::std::io::Result<String> { | ||||
|     let mut s = String::new(); | ||||
|     match body.reader { | ||||
|         Kind::Reader(ref mut reader, _) => { | ||||
|             reader.read_to_string(&mut s) | ||||
|             Kind::Reader(ref mut reader, _) => reader.read_to_string(&mut s), | ||||
|             Kind::Bytes(ref mut bytes) => (&**bytes).read_to_string(&mut s), | ||||
|         } | ||||
|         Kind::Bytes(ref mut bytes) => { | ||||
|             (&**bytes).read_to_string(&mut s) | ||||
|         } | ||||
|     }.map(|_| s) | ||||
|         .map(|_| s) | ||||
| } | ||||
|  | ||||
| enum Kind { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user