rustfmt beta
This commit is contained in:
parent
70ca4f7ef8
commit
ead7d2173b
1 changed files with 2 additions and 2 deletions
|
|
@ -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)))),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue