rustfmt beta

This commit is contained in:
Jon Gjengset 2018-12-10 10:14:06 -05:00
parent 70ca4f7ef8
commit ead7d2173b
No known key found for this signature in database
GPG key ID: D64AC9D67176DC71

View file

@ -1201,12 +1201,12 @@ impl<T: Read + Write> Connection<T> {
Status::Bad => { Status::Bad => {
break Err(Error::Bad( break Err(Error::Bad(
expl.unwrap_or_else(|| "no explanation given".to_string()), expl.unwrap_or_else(|| "no explanation given".to_string()),
)) ));
} }
Status::No => { Status::No => {
break Err(Error::No( break Err(Error::No(
expl.unwrap_or_else(|| "no explanation given".to_string()), expl.unwrap_or_else(|| "no explanation given".to_string()),
)) ));
} }
_ => break Err(Error::Parse(ParseError::Invalid(data.split_off(0)))), _ => break Err(Error::Parse(ParseError::Invalid(data.split_off(0)))),
} }